LandingGuidance#
- class MechJeb.LandingGuidance()#
The Landing Guidance window, which lands at a target or wherever the vessel comes down.
- LandingGuidance.getEnabled()#
- LandingGuidance.setEnabled(value)#
Whether the module is enabled.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- LandingGuidance.getStatus()#
The status of the autopilot.
- Property:
Read-only, cannot be set
- Return type:
string- Game Scenes:
Flight
- LandingGuidance.getDeployChutes()#
- LandingGuidance.setDeployChutes(value)#
Whether the autopilot deploys the parachutes.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- LandingGuidance.getDeployGears()#
- LandingGuidance.setDeployGears(value)#
Whether the autopilot deploys the landing gear.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- LandingGuidance.landAtTarget()#
Land at the target. See
MechJeb.LandingGuidance.setTarget(). Throws an exception if there is no target, or the vessel is landed or splashed down.- Game Scenes:
Flight
- LandingGuidance.landSomewhere()#
Land wherever the vessel comes down. Throws an exception if the vessel is landed or splashed down.
- Game Scenes:
Flight
- LandingGuidance.getLimitChutesStage()#
- LandingGuidance.setLimitChutesStage(value)#
The last stage in which the autopilot deploys the parachutes.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
- LandingGuidance.getLimitGearsStage()#
- LandingGuidance.setLimitGearsStage(value)#
The last stage in which the autopilot deploys the landing gear.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
- LandingGuidance.getRCSAdjustment()#
- LandingGuidance.setRCSAdjustment(value)#
Whether the autopilot corrects its course with RCS.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- LandingGuidance.abortAutoland()#
Stop the landing.
- Game Scenes:
Flight
- LandingGuidance.getTouchdownSpeed()#
- LandingGuidance.setTouchdownSpeed(value)#
The speed at touchdown, in \(\mathrm{m/s}\).
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
- LandingGuidance.getTargetPosition()#
The world space position of the landing target. Throws an exception if there is no landing target.
- Return type:
[number, number, number]- Game Scenes:
Flight
- LandingGuidance.getTargetString()#
The landing target as text.
- Return type:
string- Game Scenes:
Flight
- LandingGuidance.pickTargetOnMap()#
Let the player pick the landing target on the map.
- Game Scenes:
Flight
- LandingGuidance.setTarget(body, latitude, longitude)#
Set the landing target to a position on the surface of a body.
- Arguments:
body (
SpaceCenter.CelestialBody) – The body.latitude (
number) – The latitude, in degrees.longitude (
number) – The longitude, in degrees.
- Game Scenes:
Flight
- LandingGuidance.getAutowarp()#
- LandingGuidance.setAutowarp(value)#
Whether to warp time during the landing, and the burns it makes.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- LandingGuidance.getJettisonBeforeEntry()#
- LandingGuidance.setJettisonBeforeEntry(value)#
Whether to drop the current stage just above the atmosphere, and aim for the parts that land, such as a capsule without its service stage.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- LandingGuidance.getLimiterMinThrottle()#
- LandingGuidance.setLimiterMinThrottle(value)#
Whether to keep the throttle above
MechJeb.LandingGuidance.getMinThrottle()during the landing.- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
Note
The landing’s own setting. The other throttle limits are those of
MechJeb.Utilities.getThrust().