.. default-domain:: lua .. highlight:: lua .. currentmodule:: MechJeb Translatron =========== .. class:: Translatron The Translatron module controls the vessel's throttle/velocity. .. attribute:: mode: MechJeb.TranslatronMode Current translatron mode. :Attribute: Can be read or written :rtype: :class:`MechJeb.TranslatronMode` .. attribute:: translation_speed: number Speed which trasnlatron will hold :Attribute: Can be read or written :rtype: number .. attribute:: kill_horizontal_speed: boolean Kill horizontal speed :Attribute: Can be read or written :rtype: boolean .. method:: panic_switch() Abort mission by seperating all but the last stage and activating landing autopilot. .. class:: TranslatronMode .. data:: off Switch off Translatron. .. data:: keep_orbital Keep orbital velocity. .. data:: keep_surface Keep surface velocity. .. data:: keep_vertical Keep vertical velocity (climb/descent speed). .. data:: keep_relative Internal mode, do not set. .. data:: direct Internal mode, do not set.