.. default-domain:: cpp .. highlight:: cpp .. namespace:: krpc::services::MechJeb Service ======= .. namespace:: krpc::services .. 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. .. function:: MechJeb(krpc::Connection& connection) Construct an instance of this service. .. function:: bool available() Whether MechJeb is installed. .. function:: bool ready() Whether the active vessel has MechJeb. :Game Scenes: Flight .. function:: AircraftApproach aircraft_approach() The Aircraft Approach and Autoland window. :Game Scenes: Flight .. function:: AircraftAutopilot aircraft_autopilot() The Aircraft Autopilot window. :Game Scenes: Flight .. function:: AscentGuidance ascent_guidance() The Ascent Guidance window. :Game Scenes: Flight .. function:: AttitudeAdjustment attitude_adjustment() The Attitude Adjustment window. :Game Scenes: Flight .. function:: DockingAutopilot docking_autopilot() The Docking Autopilot window. :Game Scenes: Flight .. function:: LandingGuidance landing_guidance() The Landing Guidance window. :Game Scenes: Flight .. function:: ManeuverPlanner maneuver_planner() The Maneuver Planner window. :Game Scenes: Flight .. function:: RendezvousAutopilot rendezvous_autopilot() The Rendezvous Autopilot window. :Game Scenes: Flight .. function:: RoverAutopilot rover_autopilot() The Rover Autopilot window. :Game Scenes: Flight .. function:: SmartASS smart_ass() The Smart A.S.S. window. :Game Scenes: Flight .. function:: SmartRCS smart_rcs() The Smart RCS window. :Game Scenes: Flight .. function:: TargetController target_controller() The target controller, which holds MechJeb's target. :Game Scenes: Flight .. function:: Translatron translatron() The Translatron window. :Game Scenes: Flight .. function:: Utilities utilities() The Utilities window. :Game Scenes: Flight .. namespace:: krpc::services::MechJeb .. class:: MJServiceException A general error in the service. A subclass of :class:`krpc::ServerError`.