.. default-domain:: py .. highlight:: py .. currentmodule:: MechJeb LandingGuidance =============== .. class:: LandingGuidance The Landing Guidance window, which lands at a target or wherever the vessel comes down. .. attribute:: enabled Whether the module is enabled. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. attribute:: status The status of the autopilot. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. attribute:: deploy_chutes Whether the autopilot deploys the parachutes. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. attribute:: deploy_gears Whether the autopilot deploys the landing gear. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. method:: land_at_target() Land at the target. See :meth:`LandingGuidance.set_target`. Throws an exception if there is no target, or the vessel is landed or splashed down. :Game Scenes: Flight .. method:: land_somewhere() Land wherever the vessel comes down. Throws an exception if the vessel is landed or splashed down. :Game Scenes: Flight .. attribute:: limit_chutes_stage The last stage in which the autopilot deploys the parachutes. :Attribute: Can be read or written :rtype: int :Game Scenes: Flight .. attribute:: limit_gears_stage The last stage in which the autopilot deploys the landing gear. :Attribute: Can be read or written :rtype: int :Game Scenes: Flight .. attribute:: rcs_adjustment Whether the autopilot corrects its course with RCS. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. method:: abort_autoland() Stop the landing. :Game Scenes: Flight .. attribute:: touchdown_speed The speed at touchdown, in :math:`\mathrm{m/s}`. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. method:: get_target_position() The world space position of the landing target. Throws an exception if there is no landing target. :rtype: tuple(float, float, float) :Game Scenes: Flight .. method:: get_target_string() The landing target as text. :rtype: str :Game Scenes: Flight .. method:: pick_target_on_map() Let the player pick the landing target on the map. :Game Scenes: Flight .. method:: set_target(body, latitude, longitude) Set the landing target to a position on the surface of a body. :param SpaceCenter.CelestialBody body: The body. :param float latitude: The latitude, in degrees. :param float longitude: The longitude, in degrees. :Game Scenes: Flight .. attribute:: autowarp Whether to warp time during the landing. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. note:: The same setting as :attr:`ManeuverPlanner.autowarp`.