Translatron#
-
type krpc_MechJeb_Translatron_t#
The Translatron window, which holds a speed.
-
KRPC_CLASS_MECHJEB_TRANSLATRON#
The service and class ids of the class, for
krpc_KRPC_Type_ClassTypeById().
-
krpc_error_t krpc_MechJeb_Translatron_Mode(krpc_connection_t connection, krpc_MechJeb_TranslatronMode_t *returnValue, krpc_MechJeb_Translatron_t instance)#
-
krpc_error_t krpc_MechJeb_Translatron_set_Mode(krpc_connection_t connection, krpc_MechJeb_Translatron_t instance, krpc_MechJeb_TranslatronMode_t value)#
The mode. Throws an exception if set to
KRPC_MECHJEB_TRANSLATRONMODE_KEEPRELATIVEorKRPC_MECHJEB_TRANSLATRONMODE_DIRECT.- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_Translatron_TranslationSpeed(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Translatron_t instance)#
-
krpc_error_t krpc_MechJeb_Translatron_set_TranslationSpeed(krpc_connection_t connection, krpc_MechJeb_Translatron_t instance, double value)#
The speed to hold, in \(\mathrm{m/s}\).
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_Translatron_KillHorizontalSpeed(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_Translatron_t instance)#
-
krpc_error_t krpc_MechJeb_Translatron_set_KillHorizontalSpeed(krpc_connection_t connection, krpc_MechJeb_Translatron_t instance, bool value)#
Whether to cancel the horizontal speed.
- Game Scenes:
Flight
-
krpc_error_t krpc_MechJeb_Translatron_PanicSwitch(krpc_connection_t connection, krpc_MechJeb_Translatron_t instance)#
Abort: separate all but the last stage and engage the landing autopilot. A call during an abort cancels it.
- Game Scenes:
Flight
-
KRPC_CLASS_MECHJEB_TRANSLATRON#
-
type krpc_MechJeb_TranslatronMode_t#
The mode of Translatron. See
krpc_MechJeb_Translatron_Mode().-
KRPC_ENUMERATION_MECHJEB_TRANSLATRONMODE#
The service and enumeration ids of the enumeration, for
krpc_KRPC_Type_EnumerationTypeById()andkrpc_KRPC_Expression_ConstantEnumById().
-
KRPC_MECHJEB_TRANSLATRONMODE_OFF#
Off.
-
KRPC_MECHJEB_TRANSLATRONMODE_KEEPORBITAL#
Hold the orbital speed.
-
KRPC_MECHJEB_TRANSLATRONMODE_KEEPSURFACE#
Hold the surface speed.
-
KRPC_MECHJEB_TRANSLATRONMODE_KEEPVERTICAL#
Hold the vertical speed.
-
KRPC_MECHJEB_TRANSLATRONMODE_KEEPRELATIVE#
Unused. MechJeb 2.15 has no such mode.
-
KRPC_MECHJEB_TRANSLATRONMODE_DIRECT#
Set by MechJeb’s autopilots. Cannot be set.
-
KRPC_ENUMERATION_MECHJEB_TRANSLATRONMODE#