Translatron#
Translatron
The Translatron window, which holds a speed.
A Translatron object is passed and returned as its identifier, a number. A path that acts on
an object takes it as (id).
- GET /mech-jeb/translatron/(id)/mode#
The mode. Throws an exception if set to
"keep_relative"or"direct".- Parameters:
id – The identifier of the Translatron object.
- Response JSON Object:
value (MechJeb.TranslatronMode)
- PUT /mech-jeb/translatron/(id)/mode#
The mode. Throws an exception if set to
"keep_relative"or"direct".- Parameters:
id – The identifier of the Translatron object.
- Request JSON Object:
value (MechJeb.TranslatronMode) – The new value.
- GET /mech-jeb/translatron/(id)/translation-speed#
The speed to hold, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Translatron object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/translatron/(id)/translation-speed#
The speed to hold, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Translatron object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/translatron/(id)/kill-horizontal-speed#
Whether to cancel the horizontal speed.
- Parameters:
id – The identifier of the Translatron object.
- Response JSON Object:
value (bool)
- PUT /mech-jeb/translatron/(id)/kill-horizontal-speed#
Whether to cancel the horizontal speed.
- Parameters:
id – The identifier of the Translatron object.
- Request JSON Object:
value (bool) – The new value.
- POST /mech-jeb/translatron/(id)/panic-switch#
Abort: separate all but the last stage and engage the landing autopilot. A call during an abort cancels it.
- Parameters:
id – The identifier of the Translatron object.
TranslatronMode
The mode of Translatron. See GET /mech-jeb/translatron/(id)/mode.
Passed and returned as the name of one of its values:
"off"Off.
"keep_orbital"Hold the orbital speed.
"keep_surface"Hold the surface speed.
"keep_vertical"Hold the vertical speed.
"keep_relative"Unused. MechJeb 2.15 has no such mode.
"direct"Set by MechJeb’s autopilots. Cannot be set.