Translatron#

class MechJeb.Translatron()#

The Translatron window, which holds a speed.

Translatron.getMode()#
Translatron.setMode(value)#

The mode. Throws an exception if set to MechJeb.TranslatronMode.keepRelative or MechJeb.TranslatronMode.direct.

Property:

Can be read or written

Return type:

MechJeb.TranslatronMode

Game Scenes:

Flight

Translatron.getTranslationSpeed()#
Translatron.setTranslationSpeed(value)#

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

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

Translatron.getKillHorizontalSpeed()#
Translatron.setKillHorizontalSpeed(value)#

Whether to cancel the horizontal speed.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

Translatron.panicSwitch()#

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

Game Scenes:

Flight

class MechJeb.TranslatronMode()#

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

TranslatronMode.off#

Off.

TranslatronMode.keepOrbital#

Hold the orbital speed.

TranslatronMode.keepSurface#

Hold the surface speed.

TranslatronMode.keepVertical#

Hold the vertical speed.

TranslatronMode.keepRelative#

Unused. MechJeb 2.15 has no such mode.

TranslatronMode.direct#

Set by MechJeb’s autopilots. Cannot be set.