Translatron#

public class Translatron#

The Translatron window, which holds a speed.

TranslatronMode getMode()#
void setMode(TranslatronMode value)#

The mode. Throws an exception if set to TranslatronMode.KEEP_RELATIVE or TranslatronMode.DIRECT.

Game Scenes:

Flight

double getTranslationSpeed()#
void setTranslationSpeed(double value)#

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

Game Scenes:

Flight

boolean getKillHorizontalSpeed()#
void setKillHorizontalSpeed(boolean value)#

Whether to cancel the horizontal speed.

Game Scenes:

Flight

void panicSwitch()#

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

Game Scenes:

Flight

public enum TranslatronMode#

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

public TranslatronMode OFF#

Off.

public TranslatronMode KEEP_ORBITAL#

Hold the orbital speed.

public TranslatronMode KEEP_SURFACE#

Hold the surface speed.

public TranslatronMode KEEP_VERTICAL#

Hold the vertical speed.

public TranslatronMode KEEP_RELATIVE#

Unused. MechJeb 2.15 has no such mode.

public TranslatronMode DIRECT#

Set by MechJeb’s autopilots. Cannot be set.