LandingGuidance#

class MechJeb.LandingGuidance#

The Landing Guidance window, which lands at a target or wherever the vessel comes down.

enabled: boolean#

Whether the module is enabled.

Attribute:

Can be read or written

status: string#

The status of the autopilot.

Attribute:

Read-only, cannot be set

deploy_chutes: boolean#

Whether the autopilot deploys the parachutes.

Attribute:

Can be read or written

deploy_gears: boolean#

Whether the autopilot deploys the landing gear.

Attribute:

Can be read or written

land_at_target()#

Land at the target. See MechJeb.LandingGuidance:set_target(). Throws an exception if there is no target, or the vessel is landed or splashed down.

land_somewhere()#

Land wherever the vessel comes down. Throws an exception if the vessel is landed or splashed down.

limit_chutes_stage: number#

The last stage in which the autopilot deploys the parachutes.

Attribute:

Can be read or written

limit_gears_stage: number#

The last stage in which the autopilot deploys the landing gear.

Attribute:

Can be read or written

rcs_adjustment: boolean#

Whether the autopilot corrects its course with RCS.

Attribute:

Can be read or written

abort_autoland()#

Stop the landing.

touchdown_speed: number#

The speed at touchdown, in \(\mathrm{m/s}\).

Attribute:

Can be read or written

get_target_position(): Tuple#

The world space position of the landing target. Throws an exception if there is no landing target.

get_target_string(): string#

The landing target as text.

pick_target_on_map()#

Let the player pick the landing target on the map.

set_target(
    body: SpaceCenter.CelestialBody,
    latitude: number,
    longitude: number
)#

Set the landing target to a position on the surface of a body.

Parameters:
  • body – The body.

  • latitude – The latitude, in degrees.

  • longitude – The longitude, in degrees.

autowarp: boolean#

Whether to warp time during the landing.

Attribute:

Can be read or written

Note

The same setting as MechJeb.ManeuverPlanner.autowarp.