ManeuverPlanner#

type krpc_MechJeb_ManeuverPlanner_t#

The Maneuver Planner window, which makes maneuver nodes for its operations, and executes them.

Note

MechJeb shares the operations, and most of their settings, between vessels.

KRPC_CLASS_MECHJEB_MANEUVERPLANNER#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationAdvancedTransfer(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that transfers to another planet, at the departure that needs the least delta-v.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationApoapsis(krpc_connection_t connection, krpc_MechJeb_OperationApoapsis_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes the apoapsis.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationCircularize(krpc_connection_t connection, krpc_MechJeb_OperationCircularize_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that circularizes the orbit.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationCourseCorrection(krpc_connection_t connection, krpc_MechJeb_OperationCourseCorrection_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that fine tunes the closest approach to the target.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationEccentricity(krpc_connection_t connection, krpc_MechJeb_OperationEccentricity_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes the eccentricity.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationEllipticize(krpc_connection_t connection, krpc_MechJeb_OperationEllipticize_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes both the periapsis and the apoapsis.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationInclination(krpc_connection_t connection, krpc_MechJeb_OperationInclination_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes the inclination.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationInterplanetaryTransfer(krpc_connection_t connection, krpc_MechJeb_OperationInterplanetaryTransfer_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that transfers to another planet.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationKillRelVel(krpc_connection_t connection, krpc_MechJeb_OperationKillRelVel_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that matches velocities with the target.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationLambert(krpc_connection_t connection, krpc_MechJeb_OperationLambert_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that intercepts the target at a chosen time.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationLan(krpc_connection_t connection, krpc_MechJeb_OperationLan_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes the longitude of the ascending node.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationLongitude(krpc_connection_t connection, krpc_MechJeb_OperationLongitude_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes the surface longitude of the apsis.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationMoonReturn(krpc_connection_t connection, krpc_MechJeb_OperationMoonReturn_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that returns from a moon.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationPeriapsis(krpc_connection_t connection, krpc_MechJeb_OperationPeriapsis_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes the periapsis.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationPlane(krpc_connection_t connection, krpc_MechJeb_OperationPlane_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that matches planes with the target.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationResonantOrbit(krpc_connection_t connection, krpc_MechJeb_OperationResonantOrbit_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes to a resonant orbit.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationSemiMajor(krpc_connection_t connection, krpc_MechJeb_OperationSemiMajor_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that changes the semi-major axis.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_OperationTransfer(krpc_connection_t connection, krpc_MechJeb_OperationTransfer_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

The operation that transfers to the target.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_AbortNodeExecution(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance)#

Stop executing the maneuver nodes.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_ExecuteAllNodes(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance)#

Execute all the maneuver nodes. Throws an exception if the vessel has no maneuver node.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_ExecuteNextNode(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance)#

Execute the next maneuver node. Throws an exception if the vessel has no maneuver node.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_Autowarp(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#
krpc_error_t krpc_MechJeb_ManeuverPlanner_set_Autowarp(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance, bool value)#

Whether to warp time to the burn.

Game Scenes:

Flight

Note

The same setting as krpc_MechJeb_AscentSettings_Autowarp(), krpc_MechJeb_LandingGuidance_Autowarp() and krpc_MechJeb_RendezvousAutopilot_Autowarp().

krpc_error_t krpc_MechJeb_ManeuverPlanner_ExecutingNode(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#

Whether a maneuver node is being executed.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_LeadTime(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#
krpc_error_t krpc_MechJeb_ManeuverPlanner_set_LeadTime(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance, double value)#

The time before the burn at which time warp stops, in seconds.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_RCSOnly(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#
krpc_error_t krpc_MechJeb_ManeuverPlanner_set_RCSOnly(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance, bool value)#

Whether to burn with the RCS thrusters in place of the engines.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ManeuverPlanner_KillRollRotation(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#
krpc_error_t krpc_MechJeb_ManeuverPlanner_set_KillRollRotation(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance, bool value)#

Whether to stop the vessel’s roll before the burn.

Game Scenes:

Flight

KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION#

Thrown when an operation cannot make its nodes, such as when it needs a target and there is none.

The service and exception ids of the exception, for KRPC_IS_EXCEPTION. A call that fails with it returns KRPC_ERROR_SERVER.

TimeSelector#

type krpc_MechJeb_TimeSelector_t#

The time of a maneuver.

KRPC_CLASS_MECHJEB_TIMESELECTOR#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_TimeSelector_CircularizeAltitude(krpc_connection_t connection, double *returnValue, krpc_MechJeb_TimeSelector_t instance)#
krpc_error_t krpc_MechJeb_TimeSelector_set_CircularizeAltitude(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t instance, double value)#

The altitude, in meters.

Game Scenes:

Flight

Note

Applies to KRPC_MECHJEB_TIMEREFERENCE_ALTITUDE.

krpc_error_t krpc_MechJeb_TimeSelector_LeadTime(krpc_connection_t connection, double *returnValue, krpc_MechJeb_TimeSelector_t instance)#
krpc_error_t krpc_MechJeb_TimeSelector_set_LeadTime(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t instance, double value)#

The time from now, in seconds.

Game Scenes:

Flight

Note

Applies to KRPC_MECHJEB_TIMEREFERENCE_XFROMNOW.

krpc_error_t krpc_MechJeb_TimeSelector_TimeReference(krpc_connection_t connection, krpc_MechJeb_TimeReference_t *returnValue, krpc_MechJeb_TimeSelector_t instance)#
krpc_error_t krpc_MechJeb_TimeSelector_set_TimeReference(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t instance, krpc_MechJeb_TimeReference_t value)#

The time reference. Throws an exception if set to a reference the operation does not allow.

Game Scenes:

Flight

type krpc_MechJeb_TimeReference_t#

The time reference of a maneuver. See krpc_MechJeb_TimeSelector_TimeReference().

KRPC_ENUMERATION_MECHJEB_TIMEREFERENCE#

The service and enumeration ids of the enumeration, for krpc_KRPC_Type_EnumerationTypeById() and krpc_KRPC_Expression_ConstantEnumById().

KRPC_MECHJEB_TIMEREFERENCE_COMPUTED#

At the optimum time.

KRPC_MECHJEB_TIMEREFERENCE_XFROMNOW#

After krpc_MechJeb_TimeSelector_LeadTime().

KRPC_MECHJEB_TIMEREFERENCE_APOAPSIS#

At the next apoapsis.

KRPC_MECHJEB_TIMEREFERENCE_PERIAPSIS#

At the next periapsis.

KRPC_MECHJEB_TIMEREFERENCE_ALTITUDE#

At krpc_MechJeb_TimeSelector_CircularizeAltitude().

KRPC_MECHJEB_TIMEREFERENCE_EQASCENDING#

At the equatorial ascending node.

KRPC_MECHJEB_TIMEREFERENCE_EQDESCENDING#

At the equatorial descending node.

KRPC_MECHJEB_TIMEREFERENCE_RELASCENDING#

At the next ascending node with the target.

KRPC_MECHJEB_TIMEREFERENCE_RELDESCENDING#

At the next descending node with the target.

KRPC_MECHJEB_TIMEREFERENCE_CLOSESTAPPROACH#

At the closest approach to the target.

KRPC_MECHJEB_TIMEREFERENCE_EQHIGHESTAD#

At the cheaper of the equatorial ascending and descending nodes.

KRPC_MECHJEB_TIMEREFERENCE_EQNEARESTAD#

At the nearer of the equatorial ascending and descending nodes.

KRPC_MECHJEB_TIMEREFERENCE_RELHIGHESTAD#

At the cheaper of the ascending and descending nodes with the target.

KRPC_MECHJEB_TIMEREFERENCE_RELNEARESTAD#

At the nearer of the ascending and descending nodes with the target.

Operations#

OperationAdvancedTransfer#

type krpc_MechJeb_OperationAdvancedTransfer_t#

An interplanetary transfer to the target body, at the departure that needs the least delta-v before krpc_MechJeb_OperationAdvancedTransfer_MaxArrivalTime().

Note

MechJeb searches for the departure in the background. The first call to MakeNodes starts the search, and throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION until it finishes. See krpc_MechJeb_OperationAdvancedTransfer_Searching().

KRPC_CLASS_MECHJEB_OPERATIONADVANCEDTRANSFER#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_MaxArrivalTime(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_set_MaxArrivalTime(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance, double value)#

The latest arrival time, as a time from now, in seconds.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_IncludeCaptureBurn(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_set_IncludeCaptureBurn(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance, bool value)#

Whether to plan a capture burn at the destination.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_PeriapsisHeight(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_set_PeriapsisHeight(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance, double value)#

The altitude of the periapsis at the destination, in meters.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_Searching(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#

Whether MechJeb is searching for the departure.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_SearchProgress(krpc_connection_t connection, int32_t *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#

The progress of the search for the departure, as a percentage.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationApoapsis#

type krpc_MechJeb_OperationApoapsis_t#

Change the apoapsis.

KRPC_CLASS_MECHJEB_OPERATIONAPOAPSIS#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationApoapsis_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationApoapsis_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationApoapsis_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationApoapsis_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationApoapsis_NewApoapsis(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationApoapsis_t instance)#
krpc_error_t krpc_MechJeb_OperationApoapsis_set_NewApoapsis(krpc_connection_t connection, krpc_MechJeb_OperationApoapsis_t instance, double value)#

The new apoapsis altitude, in meters.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationApoapsis_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationApoapsis_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationCircularize#

type krpc_MechJeb_OperationCircularize_t#

Circularize the orbit.

Note

To raise the periapsis to the apoapsis, set the time to KRPC_MECHJEB_TIMEREFERENCE_APOAPSIS, and to lower the apoapsis to the periapsis, set it to KRPC_MECHJEB_TIMEREFERENCE_PERIAPSIS. These are the cheapest.

KRPC_CLASS_MECHJEB_OPERATIONCIRCULARIZE#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationCircularize_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationCircularize_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationCircularize_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationCircularize_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationCircularize_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationCircularize_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationCourseCorrection#

type krpc_MechJeb_OperationCourseCorrection_t#

Fine tune the closest approach to the target.

KRPC_CLASS_MECHJEB_OPERATIONCOURSECORRECTION#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationCourseCorrection_FinalPeriapsisAltitude(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationCourseCorrection_t instance)#
krpc_error_t krpc_MechJeb_OperationCourseCorrection_set_FinalPeriapsisAltitude(krpc_connection_t connection, krpc_MechJeb_OperationCourseCorrection_t instance, double value)#

The periapsis altitude at a target body, in meters.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationCourseCorrection_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationCourseCorrection_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationCourseCorrection_InterceptDistance(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationCourseCorrection_t instance)#
krpc_error_t krpc_MechJeb_OperationCourseCorrection_set_InterceptDistance(krpc_connection_t connection, krpc_MechJeb_OperationCourseCorrection_t instance, double value)#

The closest approach distance to a target vessel, in meters.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationCourseCorrection_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationCourseCorrection_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationEccentricity#

type krpc_MechJeb_OperationEccentricity_t#

Change the eccentricity.

KRPC_CLASS_MECHJEB_OPERATIONECCENTRICITY#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationEccentricity_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationEccentricity_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationEccentricity_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationEccentricity_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationEccentricity_NewEccentricity(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationEccentricity_t instance)#
krpc_error_t krpc_MechJeb_OperationEccentricity_set_NewEccentricity(krpc_connection_t connection, krpc_MechJeb_OperationEccentricity_t instance, double value)#

The new eccentricity.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationEccentricity_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationEccentricity_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationEllipticize#

type krpc_MechJeb_OperationEllipticize_t#

Change both the periapsis and the apoapsis.

KRPC_CLASS_MECHJEB_OPERATIONELLIPTICIZE#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationEllipticize_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationEllipticize_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationEllipticize_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationEllipticize_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationEllipticize_NewApoapsis(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationEllipticize_t instance)#
krpc_error_t krpc_MechJeb_OperationEllipticize_set_NewApoapsis(krpc_connection_t connection, krpc_MechJeb_OperationEllipticize_t instance, double value)#

The new apoapsis altitude, in meters.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationEllipticize_NewPeriapsis(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationEllipticize_t instance)#
krpc_error_t krpc_MechJeb_OperationEllipticize_set_NewPeriapsis(krpc_connection_t connection, krpc_MechJeb_OperationEllipticize_t instance, double value)#

The new periapsis altitude, in meters.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationEllipticize_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationEllipticize_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationInclination#

type krpc_MechJeb_OperationInclination_t#

Change the inclination.

KRPC_CLASS_MECHJEB_OPERATIONINCLINATION#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationInclination_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationInclination_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationInclination_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationInclination_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationInclination_NewInclination(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationInclination_t instance)#
krpc_error_t krpc_MechJeb_OperationInclination_set_NewInclination(krpc_connection_t connection, krpc_MechJeb_OperationInclination_t instance, double value)#

The new inclination, in degrees.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationInclination_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationInclination_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationInterplanetaryTransfer#

type krpc_MechJeb_OperationInterplanetaryTransfer_t#

Transfer to another planet.

KRPC_CLASS_MECHJEB_OPERATIONINTERPLANETARYTRANSFER#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationInterplanetaryTransfer_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationInterplanetaryTransfer_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationInterplanetaryTransfer_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationInterplanetaryTransfer_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationInterplanetaryTransfer_WaitForPhaseAngle(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationInterplanetaryTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationInterplanetaryTransfer_set_WaitForPhaseAngle(krpc_connection_t connection, krpc_MechJeb_OperationInterplanetaryTransfer_t instance, bool value)#

Whether to wait for the optimal phase angle. Otherwise the transfer happens now.

Game Scenes:

Flight

OperationKillRelVel#

type krpc_MechJeb_OperationKillRelVel_t#

Match velocities with the target.

KRPC_CLASS_MECHJEB_OPERATIONKILLRELVEL#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationKillRelVel_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationKillRelVel_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationKillRelVel_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationKillRelVel_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationKillRelVel_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationKillRelVel_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationLambert#

type krpc_MechJeb_OperationLambert_t#

Intercept the target at a chosen time.

KRPC_CLASS_MECHJEB_OPERATIONLAMBERT#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationLambert_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationLambert_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationLambert_InterceptInterval(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationLambert_t instance)#
krpc_error_t krpc_MechJeb_OperationLambert_set_InterceptInterval(krpc_connection_t connection, krpc_MechJeb_OperationLambert_t instance, double value)#

The time from the maneuver to the intercept, in seconds.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationLambert_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationLambert_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationLambert_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationLambert_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationLan#

type krpc_MechJeb_OperationLan_t#

Change the longitude of the ascending node.

KRPC_CLASS_MECHJEB_OPERATIONLAN#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationLan_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationLan_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationLan_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationLan_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationLan_NewLAN(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationLan_t instance)#
krpc_error_t krpc_MechJeb_OperationLan_set_NewLAN(krpc_connection_t connection, krpc_MechJeb_OperationLan_t instance, double value)#

The new longitude of the ascending node, in degrees.

Game Scenes:

Flight

Note

MechJeb holds this value in the target controller of each vessel, as the longitude of the position target. Setting it also moves the position target.

krpc_error_t krpc_MechJeb_OperationLan_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationLan_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationLongitude#

type krpc_MechJeb_OperationLongitude_t#

Change the surface longitude of the apsis.

KRPC_CLASS_MECHJEB_OPERATIONLONGITUDE#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationLongitude_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationLongitude_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationLongitude_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationLongitude_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationLongitude_NewSurfaceLongitude(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationLongitude_t instance)#
krpc_error_t krpc_MechJeb_OperationLongitude_set_NewSurfaceLongitude(krpc_connection_t connection, krpc_MechJeb_OperationLongitude_t instance, double value)#

The new surface longitude of the apsis after one orbit, in degrees.

Game Scenes:

Flight

Note

MechJeb holds this value in the target controller of each vessel, as the longitude of the position target. Setting it also moves the position target.

krpc_error_t krpc_MechJeb_OperationLongitude_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationLongitude_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationMoonReturn#

type krpc_MechJeb_OperationMoonReturn_t#

Return from a moon to the body it orbits.

KRPC_CLASS_MECHJEB_OPERATIONMOONRETURN#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationMoonReturn_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationMoonReturn_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationMoonReturn_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationMoonReturn_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationMoonReturn_MoonReturnAltitude(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationMoonReturn_t instance)#
krpc_error_t krpc_MechJeb_OperationMoonReturn_set_MoonReturnAltitude(krpc_connection_t connection, krpc_MechJeb_OperationMoonReturn_t instance, double value)#

The approximate periapsis altitude at the body, in meters.

Game Scenes:

Flight

OperationPeriapsis#

type krpc_MechJeb_OperationPeriapsis_t#

Change the periapsis.

KRPC_CLASS_MECHJEB_OPERATIONPERIAPSIS#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationPeriapsis_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationPeriapsis_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationPeriapsis_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationPeriapsis_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationPeriapsis_NewPeriapsis(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationPeriapsis_t instance)#
krpc_error_t krpc_MechJeb_OperationPeriapsis_set_NewPeriapsis(krpc_connection_t connection, krpc_MechJeb_OperationPeriapsis_t instance, double value)#

The new periapsis altitude, in meters.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationPeriapsis_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationPeriapsis_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationPlane#

type krpc_MechJeb_OperationPlane_t#

Match planes with the target.

KRPC_CLASS_MECHJEB_OPERATIONPLANE#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationPlane_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationPlane_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationPlane_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationPlane_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationPlane_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationPlane_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationResonantOrbit#

type krpc_MechJeb_OperationResonantOrbit_t#

Change to a resonant orbit, to place satellites in a constellation.

Note

Start from an orbit in the plane of the constellation. To deploy satellites, set the denominator to their number. A numerator one less than the denominator is the cheapest, though not the fastest. The two numbers must have no common factor.

KRPC_CLASS_MECHJEB_OPERATIONRESONANTORBIT#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationResonantOrbit_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationResonantOrbit_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationResonantOrbit_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationResonantOrbit_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationResonantOrbit_ResonanceDenominator(krpc_connection_t connection, int32_t *returnValue, krpc_MechJeb_OperationResonantOrbit_t instance)#
krpc_error_t krpc_MechJeb_OperationResonantOrbit_set_ResonanceDenominator(krpc_connection_t connection, krpc_MechJeb_OperationResonantOrbit_t instance, int32_t value)#

The denominator of the ratio of the new orbital period to the current one.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationResonantOrbit_ResonanceNumerator(krpc_connection_t connection, int32_t *returnValue, krpc_MechJeb_OperationResonantOrbit_t instance)#
krpc_error_t krpc_MechJeb_OperationResonantOrbit_set_ResonanceNumerator(krpc_connection_t connection, krpc_MechJeb_OperationResonantOrbit_t instance, int32_t value)#

The numerator of the ratio of the new orbital period to the current one.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationResonantOrbit_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationResonantOrbit_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationSemiMajor#

type krpc_MechJeb_OperationSemiMajor_t#

Change the semi-major axis.

KRPC_CLASS_MECHJEB_OPERATIONSEMIMAJOR#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationSemiMajor_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationSemiMajor_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationSemiMajor_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationSemiMajor_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationSemiMajor_NewSemiMajorAxis(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationSemiMajor_t instance)#
krpc_error_t krpc_MechJeb_OperationSemiMajor_set_NewSemiMajorAxis(krpc_connection_t connection, krpc_MechJeb_OperationSemiMajor_t instance, double value)#

The new semi-major axis, in meters.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationSemiMajor_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationSemiMajor_t instance)#

The time of the maneuver.

Game Scenes:

Flight

OperationTransfer#

type krpc_MechJeb_OperationTransfer_t#

A bi-impulsive (Hohmann) transfer to the target, within one sphere of influence. It suits a rendezvous with a vessel or a transfer to a moon.

Note

Despite the name, the transfer is often uni-impulsive. It happens at the selected time, or at the optimum time.

KRPC_CLASS_MECHJEB_OPERATIONTRANSFER#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_OperationTransfer_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationTransfer_t instance)#

The warning or error from the last call to MakeNodes, or an empty string.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationTransfer_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationTransfer_t instance)#

Make the maneuver nodes of the operation. Throws an KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTION if the operation cannot make them.

Returns:

The maneuver nodes.

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

krpc_error_t krpc_MechJeb_OperationTransfer_Capture(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationTransfer_set_Capture(krpc_connection_t connection, krpc_MechJeb_OperationTransfer_t instance, bool value)#

Whether the transfer ends in the target’s orbit. Without capture, it is an impact or a flyby.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationTransfer_PlanCapture(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationTransfer_set_PlanCapture(krpc_connection_t connection, krpc_MechJeb_OperationTransfer_t instance, bool value)#

Whether to make a second node for the capture burn.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationTransfer_Rendezvous(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationTransfer_set_Rendezvous(krpc_connection_t connection, krpc_MechJeb_OperationTransfer_t instance, bool value)#

Whether to meet the target, rather than reach its orbit.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationTransfer_LagTime(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationTransfer_set_LagTime(krpc_connection_t connection, krpc_MechJeb_OperationTransfer_t instance, double value)#

The time by which the vessel arrives behind the target, in seconds.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationTransfer_Coplanar(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationTransfer_t instance)#
krpc_error_t krpc_MechJeb_OperationTransfer_set_Coplanar(krpc_connection_t connection, krpc_MechJeb_OperationTransfer_t instance, bool value)#

Whether the transfer stays in the vessel’s orbital plane.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_OperationTransfer_TimeSelector(krpc_connection_t connection, krpc_MechJeb_TimeSelector_t *returnValue, krpc_MechJeb_OperationTransfer_t instance)#

The time of the maneuver.

Game Scenes:

Flight