Giter VIP home page Giter VIP logo

krpc.mechjeb's Introduction

kRPC.MechJeb Service

Are you tired of manually giving commands to your rockets? Do you want to automate tourist transportation? Do you know basics of programming but don't want to bother with calculating precise steering yourself? Do you like to use MechJeb for controlling your rockets but want more automation? If all of this is true, then this KSP mod is just for you!

This addon to kRPC provides remote procedures to interact with MechJeb 2. With a simple script, you can configure MechJeb autopilots and remotely control your rocket.

Installation

  1. Install kRPC and MechJeb 2 mods.
  2. Download latest release files.
  3. Copy KRPC.MechJeb.dll to Kerbal Space Program/GameData/kRPC directory.
  4. If you are using Python, Lua or similar client libraries, you can start coding right away. For C-nano, C++, C# and Java, find the relevant file in the release archive and link it with your project.
  5. Happy coding!

If you encounter any issues, please check if your kRPC and MechJeb 2 versions are supported for your chosen kRPC.MechJeb version. Newer versions may contain breaking changes, so it may be necessary to downgrade them to the latest supported versions. A popup will notify you about potential issues when you start the game, listing functions/properties which are unavailable. If you don't see the popup, kRPC.MechJeb should work as expected.

Getting started

When you enter the flight scene or switch between vessels, it is recommended to check whether the API is ready before you call other operations. Otherwise, it may throw an exception.

Contributing

All contributions to this mod are welcome. If you are interested in contributing, please read our Contribution guidelines and Code of conduct.

See Working from source for more details how to set up the project.

TO-DO

  • Implement AdvancedTransfer maneuver operation
  • Implement AttitudeAdjustment controller
  • Implement RoverAutopilot
  • Implement SpaceplaneAutopilot (known as Aircraft Approach & Autoland)

Not implemented

  • NodeEditor (replacement in kRPC.SpaceCenter service)
  • WarpHelper

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.