Utilities#

type krpc_MechJeb_Utilities_t#

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

KRPC_CLASS_MECHJEB_UTILITIES#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_Utilities_Antennas(krpc_connection_t connection, krpc_MechJeb_DeployableController_t *returnValue, krpc_MechJeb_Utilities_t instance)#

The deployable antennas.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Utilities_SolarPanels(krpc_connection_t connection, krpc_MechJeb_DeployableController_t *returnValue, krpc_MechJeb_Utilities_t instance)#

The solar panels.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Utilities_Staging(krpc_connection_t connection, krpc_MechJeb_Autostaging_t *returnValue, krpc_MechJeb_Utilities_t instance)#

The autostaging settings. The ascent has its own, krpc_MechJeb_AscentSettings_Staging().

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Utilities_Thrust(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t *returnValue, krpc_MechJeb_Utilities_t instance)#

The throttle limiters. The ascent has its own, krpc_MechJeb_AscentSettings_Thrust().

Game Scenes:

Flight

Autostaging#

type krpc_MechJeb_Autostaging_t#

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

KRPC_CLASS_MECHJEB_AUTOSTAGING#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_Autostaging_Enabled(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_Enabled(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, bool value)#

Whether the module is enabled.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_AutostagingOnce(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_Autostaging_t instance)#

Whether the controller disables itself after the next staging.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_AutostageOnce(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_AutostageLimit(krpc_connection_t connection, int32_t *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_AutostageLimit(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, int32_t value)#

The last stage the controller activates.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_AutostagePostDelay(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_AutostagePostDelay(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, double value)#

The delay after each staging, in seconds.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_AutostagePreDelay(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_AutostagePreDelay(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, double value)#

The delay before each staging, in seconds.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_ClampAutoStageThrustPct(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_ClampAutoStageThrustPct(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_FairingMaxAerothermalFlux(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_FairingMaxAerothermalFlux(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_FairingMaxDynamicPressure(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_FairingMaxDynamicPressure(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_FairingMinAltitude(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_FairingMinAltitude(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_HotStaging(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_HotStaging(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, bool value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_HotStagingLeadTime(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_HotStagingLeadTime(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_FairingMaxDynamicPressureEnabled(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_FairingMaxDynamicPressureEnabled(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, bool value)#

Whether to wait for krpc_MechJeb_Autostaging_FairingMaxDynamicPressure() to jettison a fairing.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_FairingMinAltitudeEnabled(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_FairingMinAltitudeEnabled(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, bool value)#

Whether to wait for krpc_MechJeb_Autostaging_FairingMinAltitude() to jettison a fairing.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_FairingMaxAerothermalFluxEnabled(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_FairingMaxAerothermalFluxEnabled(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, bool value)#

Whether to wait for krpc_MechJeb_Autostaging_FairingMaxAerothermalFlux() to jettison a fairing.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_DropSolids(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_DropSolids(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, bool value)#

Whether the controller drops the solid boosters of the next stage early, once their thrust no longer pays for their mass.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_Autostaging_DropSolidsTwrPct(krpc_connection_t connection, double *returnValue, krpc_MechJeb_Autostaging_t instance)#
krpc_error_t krpc_MechJeb_Autostaging_set_DropSolidsTwrPct(krpc_connection_t connection, krpc_MechJeb_Autostaging_t instance, double value)#

The fraction of the vessel’s thrust-to-weight ratio at which the solid boosters drop, between 0 and 1.

Game Scenes:

Flight

ThrustLimiter#

type krpc_MechJeb_ThrustLimiter_t#

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

KRPC_CLASS_MECHJEB_THRUSTLIMITER#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_ThrustLimiter_DifferentialThrottle(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_DifferentialThrottle(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

Whether the controller throttles the engines differentially to steer.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_DifferentialThrottleStatus(krpc_connection_t connection, krpc_MechJeb_DifferentialThrottleStatus_t *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#

The result of the differential throttle.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_ElectricThrottle(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_ElectricThrottle(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_ElectricThrottleHi(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_ElectricThrottleHi(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_ElectricThrottleLo(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_ElectricThrottleLo(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_FlameoutSafetyPct(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_FlameoutSafetyPct(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_LimitAcceleration(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_LimitAcceleration(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

Whether to limit the acceleration.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_LimitDynamicPressure(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_LimitDynamicPressure(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

Whether to limit the dynamic pressure.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_LimitThrottle(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_LimitThrottle(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

Whether to limit the throttle.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_LimitToPreventFlameout(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_LimitToPreventFlameout(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_LimitToPreventOverheats(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_LimitToPreventOverheats(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

Whether to limit the throttle to keep parts from overheating.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_LimiterMinThrottle(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_LimiterMinThrottle(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

Whether to keep the throttle above krpc_MechJeb_ThrustLimiter_MinThrottle().

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_ManageIntakes(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_ManageIntakes(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

Whether the controller opens and closes the air intakes.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_MaxAcceleration(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_MaxAcceleration(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, double value)#

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

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_MaxDynamicPressure(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_MaxDynamicPressure(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, double value)#

The largest dynamic pressure, in pascals.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_MaxThrottle(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_MaxThrottle(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, double value)#

The largest throttle, between 0 and 1.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_MinThrottle(krpc_connection_t connection, double *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_MinThrottle(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, double value)#

The smallest throttle, between 0 and 1.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_ThrustLimiter_LimitToPreventUnstableIgnition(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_LimitToPreventUnstableIgnition(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

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

Game Scenes:

Flight

Note

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

krpc_error_t krpc_MechJeb_ThrustLimiter_AutoRCSUllaging(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#
krpc_error_t krpc_MechJeb_ThrustLimiter_set_AutoRCSUllaging(krpc_connection_t connection, krpc_MechJeb_ThrustLimiter_t instance, bool value)#

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

Game Scenes:

Flight

Note

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

krpc_error_t krpc_MechJeb_ThrustLimiter_Limiter(krpc_connection_t connection, krpc_MechJeb_LimitMode_t *returnValue, krpc_MechJeb_ThrustLimiter_t instance)#

The limiter that limits the throttle now.

Game Scenes:

Flight

type krpc_MechJeb_LimitMode_t#

A throttle limiter. See krpc_MechJeb_ThrustLimiter_Limiter().

KRPC_ENUMERATION_MECHJEB_LIMITMODE#

The service and enumeration ids of the enumeration, for krpc_KRPC_Type_EnumerationTypeById() and krpc_KRPC_Expression_ConstantEnumById().

KRPC_MECHJEB_LIMITMODE_NONE#

No limiter limits the throttle.

KRPC_MECHJEB_LIMITMODE_TERMINALVELOCITY#

The terminal velocity limit.

KRPC_MECHJEB_LIMITMODE_TEMPERATURE#

krpc_MechJeb_ThrustLimiter_LimitToPreventOverheats().

KRPC_MECHJEB_LIMITMODE_FLAMEOUT#

krpc_MechJeb_ThrustLimiter_LimitToPreventFlameout().

KRPC_MECHJEB_LIMITMODE_ACCELERATION#

krpc_MechJeb_ThrustLimiter_LimitAcceleration().

KRPC_MECHJEB_LIMITMODE_THROTTLE#

krpc_MechJeb_ThrustLimiter_LimitThrottle().

KRPC_MECHJEB_LIMITMODE_DYNAMICPRESSURE#

krpc_MechJeb_ThrustLimiter_LimitDynamicPressure().

KRPC_MECHJEB_LIMITMODE_MINTHROTTLE#

krpc_MechJeb_ThrustLimiter_LimiterMinThrottle().

KRPC_MECHJEB_LIMITMODE_ELECTRIC#

krpc_MechJeb_ThrustLimiter_ElectricThrottle().

KRPC_MECHJEB_LIMITMODE_UNSTABLEIGNITION#

krpc_MechJeb_ThrustLimiter_LimitToPreventUnstableIgnition().

KRPC_MECHJEB_LIMITMODE_AUTORCSULLAGE#

krpc_MechJeb_ThrustLimiter_AutoRCSUllaging().

type krpc_MechJeb_DifferentialThrottleStatus_t#

The result of the differential throttle. See krpc_MechJeb_ThrustLimiter_DifferentialThrottleStatus().

KRPC_ENUMERATION_MECHJEB_DIFFERENTIALTHROTTLESTATUS#

The service and enumeration ids of the enumeration, for krpc_KRPC_Type_EnumerationTypeById() and krpc_KRPC_Expression_ConstantEnumById().

KRPC_MECHJEB_DIFFERENTIALTHROTTLESTATUS_SUCCESS#

The throttles balance the thrust.

KRPC_MECHJEB_DIFFERENTIALTHROTTLESTATUS_ALLENGINESOFF#

All the engines are off.

KRPC_MECHJEB_DIFFERENTIALTHROTTLESTATUS_MOREENGINESREQUIRED#

The vessel needs more engines.

KRPC_MECHJEB_DIFFERENTIALTHROTTLESTATUS_SOLVERFAILED#

The solver found no solution.

DeployableController#

type krpc_MechJeb_DeployableController_t#

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

KRPC_CLASS_MECHJEB_DEPLOYABLECONTROLLER#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_MechJeb_DeployableController_AllRetracted(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_DeployableController_t instance)#

Whether all the parts are retracted.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_DeployableController_AutoDeploy(krpc_connection_t connection, bool *returnValue, krpc_MechJeb_DeployableController_t instance)#
krpc_error_t krpc_MechJeb_DeployableController_set_AutoDeploy(krpc_connection_t connection, krpc_MechJeb_DeployableController_t instance, bool value)#

Whether a MechJeb autopilot deploys the parts.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_DeployableController_ExtendAll(krpc_connection_t connection, krpc_MechJeb_DeployableController_t instance)#

Extend all the parts.

Game Scenes:

Flight

krpc_error_t krpc_MechJeb_DeployableController_RetractAll(krpc_connection_t connection, krpc_MechJeb_DeployableController_t instance)#

Retract all the parts.

Game Scenes:

Flight

Note

Parts that are still extending are left extended.