Service#

class MechJeb : public krpc::RemoteService#

This service provides functionality to interact with MechJeb 2.

Note

The objects act on the MechJeb of the active vessel, and stay valid after the active vessel changes.

MechJeb(krpc::Connection &connection)#

Construct an instance of this service.

bool available()#

Whether MechJeb is installed.

bool ready()#

Whether the active vessel has MechJeb.

Game Scenes:

Flight

AircraftApproach aircraft_approach()#

The Aircraft Approach and Autoland window.

Game Scenes:

Flight

AircraftAutopilot aircraft_autopilot()#

The Aircraft Autopilot window.

Game Scenes:

Flight

AscentGuidance ascent_guidance()#

The Ascent Guidance window.

Game Scenes:

Flight

AttitudeAdjustment attitude_adjustment()#

The Attitude Adjustment window.

Game Scenes:

Flight

DockingAutopilot docking_autopilot()#

The Docking Autopilot window.

Game Scenes:

Flight

LandingGuidance landing_guidance()#

The Landing Guidance window.

Game Scenes:

Flight

ManeuverPlanner maneuver_planner()#

The Maneuver Planner window.

Game Scenes:

Flight

RendezvousAutopilot rendezvous_autopilot()#

The Rendezvous Autopilot window.

Game Scenes:

Flight

RoverAutopilot rover_autopilot()#

The Rover Autopilot window.

Game Scenes:

Flight

SmartASS smart_ass()#

The Smart A.S.S. window.

Game Scenes:

Flight

SmartRCS smart_rcs()#

The Smart RCS window.

Game Scenes:

Flight

TargetController target_controller()#

The target controller, which holds MechJeb’s target.

Game Scenes:

Flight

Translatron translatron()#

The Translatron window.

Game Scenes:

Flight

Utilities utilities()#

The Utilities window.

Game Scenes:

Flight

class MJServiceException#

A general error in the service.

A subclass of krpc::ServerError.