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_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_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_error_t krpc_MechJeb_ManeuverPlanner_OperationStationaryOrbit(krpc_connection_t connection, krpc_MechJeb_OperationStationaryOrbit_t *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#
The operation that transfers to the stationary orbit of the body.
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_ManeuverPlanner_InitialWarpLeadTime(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#
-
krpc_error_t krpc_MechJeb_ManeuverPlanner_set_InitialWarpLeadTime(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance, double value)#
The time before the burn at which the first, coarse time warp stops, in seconds.
- Game Scenes:
Flight
Note
A burn further away than this is warped to in two steps: to this time before it, then to
krpc_MechJeb_ManeuverPlanner_LeadTime()once the vessel is aligned.
-
krpc_error_t krpc_MechJeb_ManeuverPlanner_AlignedTolerance(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#
-
krpc_error_t krpc_MechJeb_ManeuverPlanner_set_AlignedTolerance(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance, double value)#
The angle from the burn direction within which the burn starts, in degrees.
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_ManeuverPlanner_WarpAlignedTolerance(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ManeuverPlanner_t instance)#
-
krpc_error_t krpc_MechJeb_ManeuverPlanner_set_WarpAlignedTolerance(krpc_connection_t connection, krpc_MechJeb_ManeuverPlanner_t instance, double value)#
The angle from the burn direction within which time warp to the burn starts, in degrees.
- Game Scenes:
Flight
-
KRPC_CLASS_MECHJEB_MANEUVERPLANNER#
-
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 returnsKRPC_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
-
KRPC_CLASS_MECHJEB_TIMESELECTOR#
-
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()andkrpc_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.
-
KRPC_ENUMERATION_MECHJEB_TIMEREFERENCE#
Operations#
OperationAdvancedTransfer#
-
type krpc_MechJeb_OperationAdvancedTransfer_t#
An interplanetary transfer to the target body. The departure and transfer time come from a search, chosen as
krpc_MechJeb_OperationAdvancedTransfer_Mode()sets.Note
MechJeb searches in the background. The first call to
MakeNodesstarts the search, and throws anKRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTIONuntil it finishes. Seekrpc_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
Note
Applies in the
KRPC_MECHJEB_ADVANCEDTRANSFERMODE_LIMITEDTIMEmode.MakeNodescomputes a default for a new target, from the synodic period and the transfer time, unless it was set while the target was selected.
-
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_OPERATIONEXCEPTIONif 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_OperationAdvancedTransfer_Mode(krpc_connection_t connection, krpc_MechJeb_AdvancedTransferMode_t *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_set_Mode(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance, krpc_MechJeb_AdvancedTransferMode_t value)#
How the search chooses the departure and transfer time.
- Game Scenes:
Flight
Note
Setting it stops a search, so the next
MakeNodesstarts one.
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_TargetInclinationFlag(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_set_TargetInclinationFlag(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance, bool value)#
Whether to aim for
krpc_MechJeb_OperationAdvancedTransfer_TargetInclination()at the target.- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_TargetInclination(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_set_TargetInclination(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance, double value)#
The inclination of the orbit at the target, in degrees.
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_SearchFailed(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
Whether the search finished and found no transfer.
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_SelectLowestDeltaV(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
Select the departure and transfer time that need the least delta-v. The search selects them when it finishes. Throws an exception if
krpc_MechJeb_OperationAdvancedTransfer_Mode()is notKRPC_MECHJEB_ADVANCEDTRANSFERMODE_PORKCHOP, or the search has not finished.- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_SelectAsap(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
Select the earliest departure, with the transfer time that needs the least delta-v for it. Throws an exception if
krpc_MechJeb_OperationAdvancedTransfer_Mode()is notKRPC_MECHJEB_ADVANCEDTRANSFERMODE_PORKCHOP, or the search has not finished.- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_Select(krpc_connection_t connection, krpc_MechJeb_OperationAdvancedTransfer_t instance, double departureTime, double duration)#
Select the departure and transfer time nearest the given ones. Throws an exception if
krpc_MechJeb_OperationAdvancedTransfer_Mode()is notKRPC_MECHJEB_ADVANCEDTRANSFERMODE_PORKCHOP, the search has not finished, or there is no transfer near those times.- Parameters:
departureTime – The universal time of the departure, in seconds.
duration – The transfer time, in seconds.
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_SelectedDepartureTime(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
The universal time of the selected departure, in seconds. Throws an exception if the search has not finished.
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_SelectedDuration(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
The selected transfer time, in seconds. Throws an exception if the search has not finished.
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationAdvancedTransfer_SelectedDeltaV(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationAdvancedTransfer_t instance)#
The delta-v of the selected transfer that the search estimates, in \(\mathrm{m/s}\). Throws an exception if the search has not finished.
- Game Scenes:
Flight
-
KRPC_CLASS_MECHJEB_OPERATIONADVANCEDTRANSFER#
-
type krpc_MechJeb_AdvancedTransferMode_t#
How the advanced transfer chooses the departure and transfer time. See
krpc_MechJeb_OperationAdvancedTransfer_Mode().-
KRPC_ENUMERATION_MECHJEB_ADVANCEDTRANSFERMODE#
The service and enumeration ids of the enumeration, for
krpc_KRPC_Type_EnumerationTypeById()andkrpc_KRPC_Expression_ConstantEnumById().
-
KRPC_MECHJEB_ADVANCEDTRANSFERMODE_LIMITEDTIME#
The transfer that needs the least delta-v and arrives before
krpc_MechJeb_OperationAdvancedTransfer_MaxArrivalTime().
-
KRPC_MECHJEB_ADVANCEDTRANSFERMODE_PORKCHOP#
A transfer from a grid of departures and transfer times, the porkchop plot of MechJeb’s window. The one that needs the least delta-v, unless another is selected.
-
KRPC_ENUMERATION_MECHJEB_ADVANCEDTRANSFERMODE#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONAPOAPSIS#
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 toKRPC_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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONCIRCULARIZE#
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_OPERATIONEXCEPTIONif 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_OperationCourseCorrection_InclinationFlag(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationCourseCorrection_t instance)#
-
krpc_error_t krpc_MechJeb_OperationCourseCorrection_set_InclinationFlag(krpc_connection_t connection, krpc_MechJeb_OperationCourseCorrection_t instance, bool value)#
Whether to aim for
krpc_MechJeb_OperationCourseCorrection_Inclination()at the target.- Game Scenes:
Flight
Note
Applies when the target is a celestial body.
-
krpc_error_t krpc_MechJeb_OperationCourseCorrection_Inclination(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationCourseCorrection_t instance)#
-
krpc_error_t krpc_MechJeb_OperationCourseCorrection_set_Inclination(krpc_connection_t connection, krpc_MechJeb_OperationCourseCorrection_t instance, double value)#
The inclination of the orbit at the target, in degrees.
- Game Scenes:
Flight
Note
Requires
krpc_MechJeb_OperationCourseCorrection_InclinationFlag().
-
KRPC_CLASS_MECHJEB_OPERATIONCOURSECORRECTION#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONECCENTRICITY#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONELLIPTICIZE#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONINCLINATION#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONKILLRELVEL#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONLAMBERT#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONLAN#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONLONGITUDE#
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_OPERATIONEXCEPTIONif 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
-
krpc_error_t krpc_MechJeb_OperationMoonReturn_InclinationFlag(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationMoonReturn_t instance)#
-
krpc_error_t krpc_MechJeb_OperationMoonReturn_set_InclinationFlag(krpc_connection_t connection, krpc_MechJeb_OperationMoonReturn_t instance, bool value)#
Whether to aim for
krpc_MechJeb_OperationMoonReturn_Inclination().- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationMoonReturn_Inclination(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationMoonReturn_t instance)#
-
krpc_error_t krpc_MechJeb_OperationMoonReturn_set_Inclination(krpc_connection_t connection, krpc_MechJeb_OperationMoonReturn_t instance, double value)#
The inclination of the orbit around the body after the return, in degrees.
- Game Scenes:
Flight
Note
Requires
krpc_MechJeb_OperationMoonReturn_InclinationFlag().
-
KRPC_CLASS_MECHJEB_OPERATIONMOONRETURN#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONPERIAPSIS#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONPLANE#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONRESONANTORBIT#
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_OPERATIONEXCEPTIONif 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
-
KRPC_CLASS_MECHJEB_OPERATIONSEMIMAJOR#
OperationStationaryOrbit#
-
type krpc_MechJeb_OperationStationaryOrbit_t#
A transfer to the stationary orbit of the body, above
krpc_MechJeb_OperationStationaryOrbit_TargetLongitude().Note
The transfer is a Hohmann transfer with a second node to circularize. Throws an
KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTIONfromMakeNodesif the stationary orbit is outside the body’s sphere of influence.-
KRPC_CLASS_MECHJEB_OPERATIONSTATIONARYORBIT#
The service and class ids of the class, for
krpc_KRPC_Type_ClassTypeById().
-
krpc_error_t krpc_MechJeb_OperationStationaryOrbit_ErrorMessage(krpc_connection_t connection, char **returnValue, krpc_MechJeb_OperationStationaryOrbit_t instance)#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_OperationStationaryOrbit_MakeNodes(krpc_connection_t connection, krpc_list_object_t *returnValue, krpc_MechJeb_OperationStationaryOrbit_t instance)#
Make the maneuver nodes of the operation. Throws an
KRPC_EXCEPTION_MECHJEB_OPERATIONEXCEPTIONif 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_OperationStationaryOrbit_TargetLongitude(krpc_connection_t connection, double *returnValue, krpc_MechJeb_OperationStationaryOrbit_t instance)#
-
krpc_error_t krpc_MechJeb_OperationStationaryOrbit_set_TargetLongitude(krpc_connection_t connection, krpc_MechJeb_OperationStationaryOrbit_t instance, double value)#
The surface longitude to stay above, in degrees.
- Game Scenes:
Flight
-
KRPC_CLASS_MECHJEB_OPERATIONSTATIONARYORBIT#
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_OPERATIONEXCEPTIONif 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
Note
Requires
krpc_MechJeb_OperationTransfer_Capture(). For a celestial body target, also requireskrpc_MechJeb_OperationTransfer_MatchOrbit()or akrpc_MechJeb_OperationTransfer_LagTime().
-
krpc_error_t krpc_MechJeb_OperationTransfer_MatchOrbit(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_OperationTransfer_t instance)#
-
krpc_error_t krpc_MechJeb_OperationTransfer_set_MatchOrbit(krpc_connection_t connection, krpc_MechJeb_OperationTransfer_t instance, bool value)#
Whether to reach the target’s orbit, ahead of or behind the target, rather than meet the target.
- Game Scenes:
Flight
Note
Requires
krpc_MechJeb_OperationTransfer_Capture().
-
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
Note
Ignored with
krpc_MechJeb_OperationTransfer_MatchOrbit().
-
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
-
KRPC_CLASS_MECHJEB_OPERATIONTRANSFER#