.. default-domain:: lua .. highlight:: lua .. currentmodule:: MechJeb AircraftApproach ================ .. class:: AircraftApproach The Aircraft Approach and Autoland window, which lands a plane on a runway. .. attribute:: runways: List The names of the runways on the body the vessel is at. :Attribute: Read-only, cannot be set .. attribute:: runway: string The name of the runway to land on. Throws an exception if there is no runway on the body the vessel is at, or when set to the name of no such runway. :Attribute: Can be read or written .. attribute:: distance_to_runway: number The distance to the start of the runway, in meters. :Attribute: Read-only, cannot be set .. method:: autoland() Land on the runway. Throws an exception if there is no runway on the body the vessel is at. .. method:: abort() Stop the autoland. .. attribute:: enabled: boolean Whether the autoland is running. :Attribute: Read-only, cannot be set .. attribute:: state: string The stage of the approach, as MechJeb's window describes it. :Attribute: Read-only, cannot be set .. attribute:: glideslope: number The glideslope of the approach, in degrees. :Attribute: Can be read or written .. attribute:: approach_speed: number The speed of the approach, in :math:`\mathrm{m/s}`. :Attribute: Can be read or written .. attribute:: touchdown_speed: number The speed at touchdown, in :math:`\mathrm{m/s}`. :Attribute: Can be read or written .. attribute:: engage_reverse_if_available: boolean Whether to reverse the thrust at touchdown, on engines that can. :Attribute: Can be read or written .. attribute:: brake_as_soon_as_landed: boolean Whether to brake as soon as the vessel is landed. :Attribute: Can be read or written