Translatron#

class Translatron#

The Translatron window, which holds a speed.

TranslatronMode mode()#
void set_mode(TranslatronMode value)#

The mode. Throws an exception if set to TranslatronMode::keep_relative or TranslatronMode::direct.

Game Scenes:

Flight

double translation_speed()#
void set_translation_speed(double value)#

The speed to hold, in \(\mathrm{m/s}\).

Game Scenes:

Flight

bool kill_horizontal_speed()#
void set_kill_horizontal_speed(bool value)#

Whether to cancel the horizontal speed.

Game Scenes:

Flight

void panic_switch()#

Abort: separate all but the last stage and engage the landing autopilot. A call during an abort cancels it.

Game Scenes:

Flight

enum struct TranslatronMode#

The mode of Translatron. See Translatron::mode().

enumerator off#

Off.

enumerator keep_orbital#

Hold the orbital speed.

enumerator keep_surface#

Hold the surface speed.

enumerator keep_vertical#

Hold the vertical speed.

enumerator keep_relative#

Unused. MechJeb 2.15 has no such mode.

enumerator direct#

Set by MechJeb’s autopilots. Cannot be set.