LandingGuidance#

type krpc_MechJeb_LandingGuidance_t#

The Landing Guidance window, which lands at a target or wherever the vessel comes down.

KRPC_CLASS_MECHJEB_LANDINGGUIDANCE#

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

krpc_error_t krpc_MechJeb_LandingGuidance_Enabled(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_Enabled(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, bool value)#

Whether the module is enabled.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_Status(krpc_connection_t connection, char **returnValue, krpc_MechJeb_LandingGuidance_t instance)#

The status of the autopilot.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_DeployChutes(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_DeployChutes(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, bool value)#

Whether the autopilot deploys the parachutes.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_DeployGears(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_DeployGears(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, bool value)#

Whether the autopilot deploys the landing gear.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_LandAtTarget(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance)#

Land at the target. See krpc_MechJeb_LandingGuidance_SetTarget(). Throws an exception if there is no target, or the vessel is landed or splashed down.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_LandSomewhere(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance)#

Land wherever the vessel comes down. Throws an exception if the vessel is landed or splashed down.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_LimitChutesStage(krpc_connection_t connection, int32_t *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_LimitChutesStage(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, int32_t value)#

The last stage in which the autopilot deploys the parachutes.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_LimitGearsStage(krpc_connection_t connection, int32_t *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_LimitGearsStage(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, int32_t value)#

The last stage in which the autopilot deploys the landing gear.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_RCSAdjustment(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_RCSAdjustment(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, bool value)#

Whether the autopilot corrects its course with RCS.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_AbortAutoland(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance)#

Stop the landing.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_TouchdownSpeed(krpc_connection_t connection, double *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_TouchdownSpeed(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, double value)#

The speed at touchdown, in \(\mathrm{m/s}\).

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_GetTargetPosition(krpc_connection_t connection, krpc_tuple_double_double_double_t *returnValue, krpc_MechJeb_LandingGuidance_t instance)#

The world space position of the landing target. Throws an exception if there is no landing target.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_GetTargetString(krpc_connection_t connection, char **returnValue, krpc_MechJeb_LandingGuidance_t instance)#

The landing target as text.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_PickTargetOnMap(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance)#

Let the player pick the landing target on the map.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_SetTarget(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, krpc_SpaceCenter_CelestialBody_t body, double latitude, double longitude)#

Set the landing target to a position on the surface of a body.

Parameters:
  • body – The body.

  • latitude – The latitude, in degrees.

  • longitude – The longitude, in degrees.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_Autowarp(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_Autowarp(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, bool value)#

Whether to warp time during the landing, and the burns it makes.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_JettisonBeforeEntry(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_JettisonBeforeEntry(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, bool value)#

Whether to drop the current stage just above the atmosphere, and aim for the parts that land, such as a capsule without its service stage.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_LandingGuidance_LimiterMinThrottle(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_LimiterMinThrottle(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, bool value)#

Whether to keep the throttle above krpc_MechJeb_LandingGuidance_MinThrottle() during the landing.

Game Scenes:

Flight

Note

The landing’s own setting. The other throttle limits are those of krpc_MechJeb_Utilities_Thrust().

krpc_error_t krpc_MechJeb_LandingGuidance_MinThrottle(krpc_connection_t connection, double *returnValue, krpc_MechJeb_LandingGuidance_t instance)#
krpc_error_t krpc_MechJeb_LandingGuidance_set_MinThrottle(krpc_connection_t connection, krpc_MechJeb_LandingGuidance_t instance, double value)#

The smallest throttle during the landing, between 0 and 1.

Game Scenes:

Flight