Skip to content

here-and-now/KRPC.MechJeb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

Although all examples have been tested using kRPC v0.4.8 and MechJeb v2.8.3.0, I do support upcoming versions, so please create a new issue if something doesn't work for you.

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

About

kRPC service for MechJeb2 (Kerbal Space Program)

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 97.4%
  • PowerShell 2.6%