Utilities#

class MechJeb.Utilities#

The Utilities window, which holds the autostaging and throttle settings, and deploys the solar panels and antennas.

antennas: MechJeb.DeployableController#

The deployable antennas.

Attribute:

Read-only, cannot be set

solar_panels: MechJeb.DeployableController#

The solar panels.

Attribute:

Read-only, cannot be set

staging: MechJeb.Autostaging#

The autostaging settings. The same object as MechJeb.AscentSettings.staging.

Attribute:

Read-only, cannot be set

thrust: MechJeb.ThrustLimiter#

The throttle limiters. The same object as MechJeb.AscentSettings.thrust.

Attribute:

Read-only, cannot be set

Autostaging#

class MechJeb.Autostaging#

The autostaging settings, which the Utilities and Ascent Settings windows show.

enabled: boolean#

Whether the module is enabled.

Attribute:

Can be read or written

autostaging_once: boolean#

Whether the controller disables itself after the next staging.

Attribute:

Read-only, cannot be set

autostage_once()#

Enable the controller until the next staging. Throws an exception if the controller is enabled.

autostage_limit: number#

The last stage the controller activates.

Attribute:

Can be read or written

autostage_post_delay: number#

The delay after each staging, in seconds.

Attribute:

Can be read or written

autostage_pre_delay: number#

The delay before each staging, in seconds.

Attribute:

Can be read or written

clamp_auto_stage_thrust_pct: number#

The fraction of full thrust at which the controller releases the launch clamps.

Attribute:

Can be read or written

fairing_max_aerothermal_flux: number#

The largest aerothermal flux at which the controller jettisons a fairing, in \(\mathrm{W/m^{2}}\).

Attribute:

Can be read or written

fairing_max_dynamic_pressure: number#

The largest dynamic pressure at which the controller jettisons a fairing, in pascals.

Attribute:

Can be read or written

fairing_min_altitude: number#

The lowest altitude at which the controller jettisons a fairing, in meters.

Attribute:

Can be read or written

hot_staging: boolean#

Whether the controller ignites the next stage before the current one burns out.

Attribute:

Can be read or written

hot_staging_lead_time: number#

The time before burnout at which a hot staging happens, in seconds.

Attribute:

Can be read or written

ThrustLimiter#

class MechJeb.ThrustLimiter#

The throttle limiters, which the Utilities and Ascent Settings windows show.

differential_throttle: boolean#

Whether the controller throttles the engines differentially to steer.

Attribute:

Can be read or written

differential_throttle_status: MechJeb.DifferentialThrottleStatus#

The result of the differential throttle.

Attribute:

Read-only, cannot be set

electric_throttle: boolean#

Whether to limit the throttle of electric engines to the available power.

Attribute:

Can be read or written

electric_throttle_hi: number#

The charge level at which electric engines run at full throttle, between 0 and 1.

Attribute:

Can be read or written

electric_throttle_lo: number#

The charge level at which electric engines stop, between 0 and 1.

Attribute:

Can be read or written

flameout_safety_pct: number#

The safety margin of the jet engines’ air intake, as a percentage.

Attribute:

Can be read or written

limit_acceleration: boolean#

Whether to limit the acceleration.

Attribute:

Can be read or written

limit_dynamic_pressure: boolean#

Whether to limit the dynamic pressure.

Attribute:

Can be read or written

limit_throttle: boolean#

Whether to limit the throttle.

Attribute:

Can be read or written

limit_to_prevent_flameout: boolean#

Whether to limit the throttle to keep jet engines from flaming out.

Attribute:

Can be read or written

limit_to_prevent_overheats: boolean#

Whether to limit the throttle to keep parts from overheating.

Attribute:

Can be read or written

limiter_min_throttle: boolean#

Whether to keep the throttle above MechJeb.ThrustLimiter.min_throttle.

Attribute:

Can be read or written

manage_intakes: boolean#

Whether the controller opens and closes the air intakes.

Attribute:

Can be read or written

max_acceleration: number#

The largest acceleration, in \(\mathrm{m/s^{2}}\).

Attribute:

Can be read or written

max_dynamic_pressure: number#

The largest dynamic pressure, in pascals.

Attribute:

Can be read or written

max_throttle: number#

The largest throttle, between 0 and 1.

Attribute:

Can be read or written

min_throttle: number#

The smallest throttle, between 0 and 1.

Attribute:

Can be read or written

limit_to_prevent_unstable_ignition: boolean#

Whether to hold the throttle at zero while the engines’ fuel is unstable.

Attribute:

Can be read or written

Note

MechJeb shows this setting only with Real Fuels, as stock engines have stable fuel.

auto_rcs_ullaging: boolean#

Whether to fire the RCS forward to settle the fuel before the engines ignite.

Attribute:

Can be read or written

Note

MechJeb shows this setting only with Real Fuels, as stock engines have stable fuel.

limiter: MechJeb.LimitMode#

The limiter that limits the throttle now.

Attribute:

Read-only, cannot be set

class MechJeb.LimitMode#

A throttle limiter. See MechJeb.ThrustLimiter.limiter.

none#

No limiter limits the throttle.

terminal_velocity#

The terminal velocity limit.

temperature#

MechJeb.ThrustLimiter.limit_to_prevent_overheats.

flameout#

MechJeb.ThrustLimiter.limit_to_prevent_flameout.

acceleration#

MechJeb.ThrustLimiter.limit_acceleration.

throttle#

MechJeb.ThrustLimiter.limit_throttle.

dynamic_pressure#

MechJeb.ThrustLimiter.limit_dynamic_pressure.

min_throttle#

MechJeb.ThrustLimiter.limiter_min_throttle.

electric#

MechJeb.ThrustLimiter.electric_throttle.

unstable_ignition#

MechJeb.ThrustLimiter.limit_to_prevent_unstable_ignition.

auto_rcs_ullage#

MechJeb.ThrustLimiter.auto_rcs_ullaging.

class MechJeb.DifferentialThrottleStatus#

The result of the differential throttle. See MechJeb.ThrustLimiter.differential_throttle_status.

success#

The throttles balance the thrust.

all_engines_off#

All the engines are off.

more_engines_required#

The vessel needs more engines.

solver_failed#

The solver found no solution.

DeployableController#

class MechJeb.DeployableController#

The controller of one kind of deployable part, such as antennas or solar panels.

all_retracted(): boolean#

Whether all the parts are retracted.

auto_deploy: boolean#

Whether a MechJeb autopilot deploys the parts.

Attribute:

Can be read or written

extend_all()#

Extend all the parts.

retract_all()#

Retract all the parts.