HoverslamAutopilot#
- class MechJeb.HoverslamAutopilot#
The hoverslam autopilot, which lands with a single burn that ends just above the ground, then descends vertically. The Hoverslam Info window shows it and its prediction.
Note
The prediction runs whenever the vessel is in flight, so it is available with the autopilot disabled.
-
enabled:
boolean# Whether the autopilot is enabled.
- Attribute:
Can be read or written
Note
The autopilot can be enabled before there is a prediction, and starts flying once there is one. Setting it throws an exception if the autopilot is
MechJeb.HoverslamState.locked.
-
state:
MechJeb.HoverslamState# The phase of the autopilot.
- Attribute:
Read-only, cannot be set
-
ignition_lead:
number# The time before the computed ignition at which the burn starts, in seconds.
- Attribute:
Can be read or written
Note
It makes up for staging or engine spool-up delays. For a margin against the terrain, raise
MechJeb.HoverslamAutopilot.vertical_altitudeinstead.
-
touchdown_speed:
number# The downward speed at touchdown, in \(\mathrm{m/s}\).
- Attribute:
Can be read or written
-
autowarp:
boolean# Whether to warp time to the ignition.
- Attribute:
Can be read or written
-
hold_upright:
boolean# Whether Smart A.S.S. holds the vessel upright after touchdown.
- Attribute:
Can be read or written
-
autostage:
boolean# Whether enabling the autopilot enables autostaging, and disabling it disables autostaging.
- Attribute:
Can be read or written
-
pwm_pulse_width:
number# The shortest pulse of the throttle, in seconds.
- Attribute:
Can be read or written
Note
The autopilot pulses the throttle of engines that cannot throttle low enough to hover, such as with Real Fuels.
-
map_landing_prediction:
boolean# Whether to mark the predicted landing site on the map.
- Attribute:
Can be read or written
-
recalculation_interval:
number# The time between updates of the prediction, in seconds.
- Attribute:
Can be read or written
-
vertical_authority:
number# The fraction of the thrust above hover that the burn plans to use, between 0 and 1.
- Attribute:
Can be read or written
Note
0.5 leaves an equal margin for overshoot and undershoot. A higher value uses less delta-v, with less margin.
-
vertical_altitude:
number# The altitude above the terrain at which the burn ends and the vertical descent starts, in meters.
- Attribute:
Can be read or written
-
has_prediction:
boolean# Whether there is a prediction of the landing.
- Attribute:
Read-only, cannot be set
-
ignition_time:
number# The universal time of the ignition, in seconds.
- Attribute:
Read-only, cannot be set
Note
-
landing_time:
number# The universal time of the touchdown, in seconds.
- Attribute:
Read-only, cannot be set
Note
-
time_to_ignition:
number# The time until the ignition, in seconds.
- Attribute:
Read-only, cannot be set
Note
-
time_to_landing:
number# The time until the touchdown, in seconds.
- Attribute:
Read-only, cannot be set
Note
-
landing_latitude:
number# The latitude of the predicted landing site, in degrees.
- Attribute:
Read-only, cannot be set
Note
-
landing_longitude:
number# The longitude of the predicted landing site, in degrees.
- Attribute:
Read-only, cannot be set
Note
-
landing_biome:
string# The biome of the predicted landing site, or
N/Awith no prediction.- Attribute:
Read-only, cannot be set
-
terrain_altitude:
number# The altitude above sea level of the terrain at the predicted landing site, in meters.
- Attribute:
Read-only, cannot be set
Note
-
slope:
number# The slope of the terrain at the predicted landing site, in degrees.
- Attribute:
Read-only, cannot be set
Note
-
final_descent_speed:
number# The speed of the vertical descent, in \(\mathrm{m/s}\).
- Attribute:
Read-only, cannot be set
Note
-
final_thrust_acceleration:
number# The acceleration from thrust during the vertical descent, in \(\mathrm{m/s^{2}}\).
- Attribute:
Read-only, cannot be set
Note
-
delta_v:
number# The delta-v of the landing burn, in \(\mathrm{m/s}\).
- Attribute:
Read-only, cannot be set
Note
-
enabled:
- class MechJeb.HoverslamState#
The phase of the hoverslam autopilot. See
MechJeb.HoverslamAutopilot.state.- locked#
The autopilot needs a research or a tracking station upgrade.
- disabled#
The autopilot is disabled.
- init#
The autopilot is waiting for a prediction.
- align#
The autopilot is turning the vessel to the burn.
- coast#
The autopilot is coasting to the ignition.
- burn#
The autopilot is burning to slow down.
- vertical#
The autopilot is descending vertically to touchdown.
- finished#
The vessel has landed.