Utilities#
- class MechJeb.Utilities()#
The Utilities window, which holds the autostaging and throttle settings, and deploys the solar panels and antennas.
- Utilities.getAntennas()#
The deployable antennas.
- Property:
Read-only, cannot be set
- Return type:
- Game Scenes:
Flight
- Utilities.getSolarPanels()#
The solar panels.
- Property:
Read-only, cannot be set
- Return type:
- Game Scenes:
Flight
- Utilities.getStaging()#
The autostaging settings. The ascent has its own,
MechJeb.AscentSettings.getStaging().- Property:
Read-only, cannot be set
- Return type:
- Game Scenes:
Flight
- Utilities.getThrust()#
The throttle limiters. The ascent has its own,
MechJeb.AscentSettings.getThrust().- Property:
Read-only, cannot be set
- Return type:
- Game Scenes:
Flight
Autostaging#
- class MechJeb.Autostaging()#
The autostaging settings, which the Utilities and Ascent Settings windows show.
- Autostaging.getEnabled()#
- Autostaging.setEnabled(value)#
Whether the module is enabled.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- Autostaging.getAutostagingOnce()#
Whether the controller disables itself after the next staging.
- Property:
Read-only, cannot be set
- Return type:
boolean- Game Scenes:
Flight
Note
- Autostaging.autostageOnce()#
Enable the controller until the next staging. Throws an exception if the controller is enabled.
- Game Scenes:
Flight
- Autostaging.getAutostageLimit()#
- Autostaging.setAutostageLimit(value)#
The last stage the controller activates.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
- Autostaging.getAutostagePostDelay()#
- Autostaging.setAutostagePostDelay(value)#
The delay after each staging, in seconds.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
- Autostaging.getAutostagePreDelay()#
- Autostaging.setAutostagePreDelay(value)#
The delay before each staging, in seconds.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
- Autostaging.getClampAutoStageThrustPct()#
- Autostaging.setClampAutoStageThrustPct(value)#
The fraction of full thrust at which the controller releases the launch clamps.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
- Autostaging.getFairingMaxAerothermalFlux()#
- Autostaging.setFairingMaxAerothermalFlux(value)#
The largest aerothermal flux at which the controller jettisons a fairing, in \(\mathrm{W/m^{2}}\).
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
Requires
MechJeb.Autostaging.getFairingMaxAerothermalFluxEnabled().
- Autostaging.getFairingMaxDynamicPressure()#
- Autostaging.setFairingMaxDynamicPressure(value)#
The largest dynamic pressure at which the controller jettisons a fairing, in pascals.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
Requires
MechJeb.Autostaging.getFairingMaxDynamicPressureEnabled().
- Autostaging.getFairingMinAltitude()#
- Autostaging.setFairingMinAltitude(value)#
The lowest altitude at which the controller jettisons a fairing, in meters.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
Requires
MechJeb.Autostaging.getFairingMinAltitudeEnabled().
- Autostaging.getHotStaging()#
- Autostaging.setHotStaging(value)#
Whether the controller ignites the next stage before the current one burns out.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- Autostaging.getHotStagingLeadTime()#
- Autostaging.setHotStagingLeadTime(value)#
The time before burnout at which a hot staging happens, in seconds.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
Requires
MechJeb.Autostaging.getHotStaging().
- Autostaging.getFairingMaxDynamicPressureEnabled()#
- Autostaging.setFairingMaxDynamicPressureEnabled(value)#
Whether to wait for
MechJeb.Autostaging.getFairingMaxDynamicPressure()to jettison a fairing.- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- Autostaging.getFairingMinAltitudeEnabled()#
- Autostaging.setFairingMinAltitudeEnabled(value)#
Whether to wait for
MechJeb.Autostaging.getFairingMinAltitude()to jettison a fairing.- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- Autostaging.getFairingMaxAerothermalFluxEnabled()#
- Autostaging.setFairingMaxAerothermalFluxEnabled(value)#
Whether to wait for
MechJeb.Autostaging.getFairingMaxAerothermalFlux()to jettison a fairing.- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- Autostaging.getDropSolids()#
- Autostaging.setDropSolids(value)#
Whether the controller drops the solid boosters of the next stage early, once their thrust no longer pays for their mass.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- Autostaging.getDropSolidsTwrPct()#
- Autostaging.setDropSolidsTwrPct(value)#
The fraction of the vessel’s thrust-to-weight ratio at which the solid boosters drop, between 0 and 1.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
Requires
MechJeb.Autostaging.getDropSolids().
ThrustLimiter#
- class MechJeb.ThrustLimiter()#
The throttle limiters, which the Utilities and Ascent Settings windows show.
- ThrustLimiter.getDifferentialThrottle()#
- ThrustLimiter.setDifferentialThrottle(value)#
Whether the controller throttles the engines differentially to steer.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- ThrustLimiter.getDifferentialThrottleStatus()#
The result of the differential throttle.
- Property:
Read-only, cannot be set
- Return type:
- Game Scenes:
Flight
- ThrustLimiter.getElectricThrottle()#
- ThrustLimiter.setElectricThrottle(value)#
Whether to limit the throttle of electric engines to the available power.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- ThrustLimiter.getElectricThrottleHi()#
- ThrustLimiter.setElectricThrottleHi(value)#
The charge level at which electric engines run at full throttle, between 0 and 1.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
- ThrustLimiter.getElectricThrottleLo()#
- ThrustLimiter.setElectricThrottleLo(value)#
The charge level at which electric engines stop, between 0 and 1.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
- ThrustLimiter.getFlameoutSafetyPct()#
- ThrustLimiter.setFlameoutSafetyPct(value)#
The safety margin of the jet engines’ air intake, as a percentage.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
- ThrustLimiter.getLimitAcceleration()#
- ThrustLimiter.setLimitAcceleration(value)#
Whether to limit the acceleration.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- ThrustLimiter.getLimitDynamicPressure()#
- ThrustLimiter.setLimitDynamicPressure(value)#
Whether to limit the dynamic pressure.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- ThrustLimiter.getLimitThrottle()#
- ThrustLimiter.setLimitThrottle(value)#
Whether to limit the throttle.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- ThrustLimiter.getLimitToPreventFlameout()#
- ThrustLimiter.setLimitToPreventFlameout(value)#
Whether to limit the throttle to keep jet engines from flaming out.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- ThrustLimiter.getLimitToPreventOverheats()#
- ThrustLimiter.setLimitToPreventOverheats(value)#
Whether to limit the throttle to keep parts from overheating.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- ThrustLimiter.getLimiterMinThrottle()#
- ThrustLimiter.setLimiterMinThrottle(value)#
Whether to keep the throttle above
MechJeb.ThrustLimiter.getMinThrottle().- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- ThrustLimiter.getManageIntakes()#
- ThrustLimiter.setManageIntakes(value)#
Whether the controller opens and closes the air intakes.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
Note
- ThrustLimiter.getMaxAcceleration()#
- ThrustLimiter.setMaxAcceleration(value)#
The largest acceleration, in \(\mathrm{m/s^{2}}\).
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
- ThrustLimiter.getMaxDynamicPressure()#
- ThrustLimiter.setMaxDynamicPressure(value)#
The largest dynamic pressure, in pascals.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
- ThrustLimiter.getMaxThrottle()#
- ThrustLimiter.setMaxThrottle(value)#
The largest throttle, between 0 and 1.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
Requires
MechJeb.ThrustLimiter.getLimitThrottle().
- ThrustLimiter.getMinThrottle()#
- ThrustLimiter.setMinThrottle(value)#
The smallest throttle, between 0 and 1.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
Note
- ThrustLimiter.getLimitToPreventUnstableIgnition()#
- ThrustLimiter.setLimitToPreventUnstableIgnition(value)#
Whether to hold the throttle at zero while the engines’ fuel is unstable.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
Note
MechJeb shows this setting only with Real Fuels, as stock engines have stable fuel.
- ThrustLimiter.getAutoRCSUllaging()#
- ThrustLimiter.setAutoRCSUllaging(value)#
Whether to fire the RCS forward to settle the fuel before the engines ignite.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
Note
MechJeb shows this setting only with Real Fuels, as stock engines have stable fuel.
- ThrustLimiter.getLimiter()#
The limiter that limits the throttle now.
- Property:
Read-only, cannot be set
- Return type:
- Game Scenes:
Flight
- class MechJeb.LimitMode()#
A throttle limiter. See
MechJeb.ThrustLimiter.getLimiter().- LimitMode.none#
No limiter limits the throttle.
- LimitMode.terminalVelocity#
The terminal velocity limit.
- LimitMode.temperature#
- LimitMode.flameout#
- LimitMode.acceleration#
- LimitMode.throttle#
- LimitMode.dynamicPressure#
- LimitMode.minThrottle#
- LimitMode.electric#
- LimitMode.unstableIgnition#
- LimitMode.autoRCSUllage#
- class MechJeb.DifferentialThrottleStatus()#
The result of the differential throttle. See
MechJeb.ThrustLimiter.getDifferentialThrottleStatus().- DifferentialThrottleStatus.success#
The throttles balance the thrust.
- DifferentialThrottleStatus.allEnginesOff#
All the engines are off.
- DifferentialThrottleStatus.moreEnginesRequired#
The vessel needs more engines.
- DifferentialThrottleStatus.solverFailed#
The solver found no solution.
DeployableController#
- class MechJeb.DeployableController()#
The controller of one kind of deployable part, such as antennas or solar panels.
- DeployableController.allRetracted()#
Whether all the parts are retracted.
- Return type:
boolean- Game Scenes:
Flight
- DeployableController.getAutoDeploy()#
- DeployableController.setAutoDeploy(value)#
Whether a MechJeb autopilot deploys the parts.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
- DeployableController.extendAll()#
Extend all the parts.
- Game Scenes:
Flight
- DeployableController.retractAll()#
Retract all the parts.
- Game Scenes:
Flight
Note
Parts that are still extending are left extended.