AscentGuidance#

AscentGuidance

The Ascent Guidance window, which flies the vessel to orbit.

Note

See the MechJeb wiki for how to set up this autopilot.

A AscentGuidance object is passed and returned as its identifier, a number. A path that acts on an object takes it as (id).

GET /mech-jeb/ascent-guidance/(id)/enabled#

Whether the module is enabled.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-guidance/(id)/enabled#

Whether the module is enabled.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-guidance/(id)/status#

The autopilot status, which depends on the selected ascent type.

Parameters:
Response JSON Object:
  • value (string)

GET /mech-jeb/ascent-guidance/(id)/ascent-type#

The ascent type.

Note

Setting it disengages the autopilot of the other type.

Parameters:
Response JSON Object:
  • value (MechJeb.AscentType)

PUT /mech-jeb/ascent-guidance/(id)/ascent-type#

The ascent type.

Note

Setting it disengages the autopilot of the other type.

Parameters:
Request JSON Object:
  • value (MechJeb.AscentType) – The new value.

GET /mech-jeb/ascent-guidance/(id)/settings#

The Ascent Settings window.

Parameters:
Response JSON Object:
  • value (MechJeb.AscentSettings)

GET /mech-jeb/ascent-guidance/(id)/psg-settings#

The settings of the "psg" ascent, from the Ascent Settings window and the PSG Stages window.

Parameters:
Response JSON Object:
  • value (MechJeb.PSGSettings)

GET /mech-jeb/ascent-guidance/(id)/classic-path#

The Ascent Path Editor window, with the settings of the "classic" ascent.

Parameters:
Response JSON Object:
  • value (MechJeb.ClassicPath)

GET /mech-jeb/ascent-guidance/(id)/desired-orbit-altitude#

The altitude of the final circular orbit, in meters.

Note

Applies to the "classic" ascent.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/desired-orbit-altitude#

The altitude of the final circular orbit, in meters.

Note

Applies to the "classic" ascent.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/desired-inclination#

The inclination of the final orbit, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/desired-inclination#

The inclination of the final orbit, in degrees.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/periapsis-altitude#

The altitude of the periapsis of the target orbit, in meters.

Note

Applies to the "psg" ascent.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/periapsis-altitude#

The altitude of the periapsis of the target orbit, in meters.

Note

Applies to the "psg" ascent.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/apoapsis-altitude#

The altitude of the apoapsis of the target orbit, in meters.

Note

Applies to the "psg" ascent. A value below GET /mech-jeb/ascent-guidance/(id)/periapsis-altitude, such as 0, gives a circular orbit, and a negative value a hyperbolic one.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/apoapsis-altitude#

The altitude of the apoapsis of the target orbit, in meters.

Note

Applies to the "psg" ascent. A value below GET /mech-jeb/ascent-guidance/(id)/periapsis-altitude, such as 0, gives a circular orbit, and a negative value a hyperbolic one.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/burnout-altitude-flag#

Whether to reach the target orbit at GET /mech-jeb/ascent-guidance/(id)/burnout-altitude.

Note

Applies to the "psg" ascent. When every stage has a fixed burn time, the ascent always burns out at GET /mech-jeb/ascent-guidance/(id)/burnout-altitude.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-guidance/(id)/burnout-altitude-flag#

Whether to reach the target orbit at GET /mech-jeb/ascent-guidance/(id)/burnout-altitude.

Note

Applies to the "psg" ascent. When every stage has a fixed burn time, the ascent always burns out at GET /mech-jeb/ascent-guidance/(id)/burnout-altitude.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-guidance/(id)/burnout-altitude#

The altitude at which the ascent reaches the target orbit, in meters. MechJeb’s window calls it the attach altitude.

Note

Applies to the "psg" ascent. See GET /mech-jeb/ascent-guidance/(id)/burnout-altitude-flag.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/burnout-altitude#

The altitude at which the ascent reaches the target orbit, in meters. MechJeb’s window calls it the attach altitude.

Note

Applies to the "psg" ascent. See GET /mech-jeb/ascent-guidance/(id)/burnout-altitude-flag.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/flight-path-angle#

The flight path angle at burnout, in degrees.

Note

Applies to the "psg" ascent, when every stage has a fixed burn time.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/flight-path-angle#

The flight path angle at burnout, in degrees.

Note

Applies to the "psg" ascent, when every stage has a fixed burn time.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/argument-of-periapsis-flag#

Whether to aim for GET /mech-jeb/ascent-guidance/(id)/argument-of-periapsis.

Note

Applies to the "psg" ascent.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-guidance/(id)/argument-of-periapsis-flag#

Whether to aim for GET /mech-jeb/ascent-guidance/(id)/argument-of-periapsis.

Note

Applies to the "psg" ascent.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-guidance/(id)/argument-of-periapsis#

The argument of periapsis of the target orbit, in degrees.

Note

Applies to the "psg" ascent. Requires GET /mech-jeb/ascent-guidance/(id)/argument-of-periapsis-flag.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/argument-of-periapsis#

The argument of periapsis of the target orbit, in degrees.

Note

Applies to the "psg" ascent. Requires GET /mech-jeb/ascent-guidance/(id)/argument-of-periapsis-flag.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/desired-lan#

The longitude of the ascending node of a launch to a LAN, in degrees. See POST /mech-jeb/ascent-guidance/(id)/launch-to-lan.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/desired-lan#

The longitude of the ascending node of a launch to a LAN, in degrees. See POST /mech-jeb/ascent-guidance/(id)/launch-to-lan.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/launch-lan-difference#

The difference from the target’s longitude of the ascending node of a launch into the target’s plane, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-guidance/(id)/launch-lan-difference#

The difference from the target’s longitude of the ascending node of a launch into the target’s plane, in degrees.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-guidance/(id)/override-warp-to-plane#

Whether a timed launch launches at once, rather than at the time it computes.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-guidance/(id)/override-warp-to-plane#

Whether a timed launch launches at once, rather than at the time it computes.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-guidance/(id)/warp-count-down#

The time before a timed launch at which time warp stops, in seconds.

Parameters:
Response JSON Object:
  • value (int32)

PUT /mech-jeb/ascent-guidance/(id)/warp-count-down#

The time before a timed launch at which time warp stops, in seconds.

Parameters:
Request JSON Object:
  • value (int32) – The new value.

GET /mech-jeb/ascent-guidance/(id)/launch-mode#

The launch mode, which gives whether a timed launch is counting down.

Parameters:
Response JSON Object:
  • value (MechJeb.AscentLaunchMode)

GET /mech-jeb/ascent-guidance/(id)/time-to-launch#

The time until a timed launch, in seconds.

Note

Requires a GET /mech-jeb/ascent-guidance/(id)/launch-mode other than "normal".

Parameters:
Response JSON Object:
  • value (double)

POST /mech-jeb/ascent-guidance/(id)/abort-timed-launch#

Abort a timed launch.

Parameters:
POST /mech-jeb/ascent-guidance/(id)/launch-to-target-plane#

Count down to a launch into the plane of the target, and set GET /mech-jeb/ascent-guidance/(id)/desired-inclination to match. Throws an exception if there is no target orbiting the body the vessel is on.

Note

The countdown runs while the autopilot is enabled.

Parameters:
POST /mech-jeb/ascent-guidance/(id)/launch-to-target-lan#

Count down to a launch into the plane with the target’s longitude of the ascending node, less GET /mech-jeb/ascent-guidance/(id)/launch-lan-difference, and inclination GET /mech-jeb/ascent-guidance/(id)/desired-inclination. Throws an exception if there is no target orbiting the body the vessel is on, or the ascent type is not "psg".

Note

The countdown runs while the autopilot is enabled.

Parameters:
POST /mech-jeb/ascent-guidance/(id)/launch-to-lan#

Count down to a launch into the plane with longitude of the ascending node GET /mech-jeb/ascent-guidance/(id)/desired-lan and inclination GET /mech-jeb/ascent-guidance/(id)/desired-inclination. Throws an exception if the ascent type is not "psg".

Note

The countdown runs while the autopilot is enabled.

Parameters:

AscentType

The ascent type. See GET /mech-jeb/ascent-guidance/(id)/ascent-type.

Passed and returned as the name of one of its values:

"classic"

The classic ascent path. See GET /mech-jeb/ascent-guidance/(id)/classic-path.

"psg"

Polynomial SQP Guidance, an optimized ascent, for RSS/RO. See GET /mech-jeb/ascent-guidance/(id)/psg-settings.

AscentLaunchMode

The launch mode of the ascent autopilot. See GET /mech-jeb/ascent-guidance/(id)/launch-mode.

Passed and returned as the name of one of its values:

"normal"

No timed launch is counting down.

"target_plane"

A timed launch into the plane of the target. See POST /mech-jeb/ascent-guidance/(id)/launch-to-target-plane.

"target_lan"

A timed launch to the target’s longitude of the ascending node. See POST /mech-jeb/ascent-guidance/(id)/launch-to-target-lan.

"lan"

A timed launch to a longitude of the ascending node. See POST /mech-jeb/ascent-guidance/(id)/launch-to-lan.

AscentSettings#

AscentSettings

The Ascent Settings window, which holds the settings shared by the ascent types.

A AscentSettings object is passed and returned as its identifier, a number. A path that acts on an object takes it as (id).

GET /mech-jeb/ascent-settings/(id)/force-roll#

Whether the autopilot controls the roll.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-settings/(id)/force-roll#

Whether the autopilot controls the roll.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-settings/(id)/vertical-roll#

The roll during the vertical climb, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-settings/(id)/vertical-roll#

The roll during the vertical climb, in degrees.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-settings/(id)/turn-roll#

The roll during the turn, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-settings/(id)/turn-roll#

The roll during the turn, in degrees.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-settings/(id)/roll-altitude#

The altitude above which the autopilot controls the roll, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-settings/(id)/roll-altitude#

The altitude above which the autopilot controls the roll, in meters.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-settings/(id)/auto-deploy-solar-panels#

Whether the ascent keeps the solar panels retracted in the atmosphere, and extends them above it.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-settings/(id)/auto-deploy-solar-panels#

Whether the ascent keeps the solar panels retracted in the atmosphere, and extends them above it.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-settings/(id)/auto-deploy-antennas#

Whether the ascent keeps the antennas retracted in the atmosphere, and extends them above it.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-settings/(id)/auto-deploy-antennas#

Whether the ascent keeps the antennas retracted in the atmosphere, and extends them above it.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-settings/(id)/autostage#

Whether the autopilot stages when the current stage runs out of fuel.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-settings/(id)/autostage#

Whether the autopilot stages when the current stage runs out of fuel.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-settings/(id)/staging#

The staging settings of the ascent, which apply in place of GET /mech-jeb/utilities/(id)/staging while the autopilot is enabled.

Parameters:
Response JSON Object:
  • value (MechJeb.AscentStaging)

GET /mech-jeb/ascent-settings/(id)/thrust#

The throttle limits of the ascent, which apply in place of GET /mech-jeb/utilities/(id)/thrust while the autopilot is enabled.

Parameters:
Response JSON Object:
  • value (MechJeb.AscentThrustLimits)

GET /mech-jeb/ascent-settings/(id)/autowarp#

Whether to warp time during the launch countdown and the coasts of the ascent.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-settings/(id)/autowarp#

Whether to warp time during the launch countdown and the coasts of the ascent.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-settings/(id)/limiting-angle-of-attack#

Whether the angle of attack limit is limiting the steering.

Parameters:
Response JSON Object:
  • value (bool)

GET /mech-jeb/ascent-settings/(id)/current-max-angle-of-attack#

The largest angle of attack the limit allows now, in degrees.

Parameters:
Response JSON Object:
  • value (double)

AscentStaging#

AscentStaging

The staging settings of the ascent, from the Ascent Settings window.

Note

The ascent starts with a copy of GET /mech-jeb/utilities/(id)/staging, and keeps its own settings after that.

A AscentStaging object is passed and returned as its identifier, a number. A path that acts on an object takes it as (id).

GET /mech-jeb/ascent-staging/(id)/autostage-pre-delay#

The delay before each staging, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-staging/(id)/autostage-pre-delay#

The delay before each staging, in seconds.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-staging/(id)/autostage-post-delay#

The delay after each staging, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-staging/(id)/autostage-post-delay#

The delay after each staging, in seconds.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-staging/(id)/autostage-limit#

The last stage the ascent activates.

Parameters:
Response JSON Object:
  • value (int32)

PUT /mech-jeb/ascent-staging/(id)/autostage-limit#

The last stage the ascent activates.

Parameters:
Request JSON Object:
  • value (int32) – The new value.

GET /mech-jeb/ascent-staging/(id)/fairing-max-dynamic-pressure-enabled#

Whether to wait for GET /mech-jeb/ascent-staging/(id)/fairing-max-dynamic-pressure to jettison a fairing.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-staging/(id)/fairing-max-dynamic-pressure-enabled#

Whether to wait for GET /mech-jeb/ascent-staging/(id)/fairing-max-dynamic-pressure to jettison a fairing.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-staging/(id)/fairing-max-dynamic-pressure#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-staging/(id)/fairing-max-dynamic-pressure#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-staging/(id)/fairing-min-altitude-enabled#

Whether to wait for GET /mech-jeb/ascent-staging/(id)/fairing-min-altitude to jettison a fairing.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-staging/(id)/fairing-min-altitude-enabled#

Whether to wait for GET /mech-jeb/ascent-staging/(id)/fairing-min-altitude to jettison a fairing.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-staging/(id)/fairing-min-altitude#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-staging/(id)/fairing-min-altitude#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-staging/(id)/fairing-max-aerothermal-flux-enabled#

Whether to wait for GET /mech-jeb/ascent-staging/(id)/fairing-max-aerothermal-flux to jettison a fairing.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-staging/(id)/fairing-max-aerothermal-flux-enabled#

Whether to wait for GET /mech-jeb/ascent-staging/(id)/fairing-max-aerothermal-flux to jettison a fairing.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-staging/(id)/fairing-max-aerothermal-flux#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-staging/(id)/fairing-max-aerothermal-flux#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-staging/(id)/clamp-auto-stage-thrust-pct#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-staging/(id)/clamp-auto-stage-thrust-pct#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-staging/(id)/hot-staging#

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

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-staging/(id)/hot-staging#

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

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-staging/(id)/hot-staging-lead-time#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-staging/(id)/hot-staging-lead-time#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-staging/(id)/drop-solids#

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

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-staging/(id)/drop-solids#

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

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-staging/(id)/drop-solids-twr-pct#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-staging/(id)/drop-solids-twr-pct#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

AscentThrustLimits#

AscentThrustLimits

The throttle limits of the ascent, from the Ascent Settings window.

Note

The ascent starts with a copy of GET /mech-jeb/utilities/(id)/thrust, and keeps its own limits after that. The "psg" ascent ignores GET /mech-jeb/ascent-thrust-limits/(id)/limit-throttle and GET /mech-jeb/ascent-thrust-limits/(id)/electric-throttle.

A AscentThrustLimits object is passed and returned as its identifier, a number. A path that acts on an object takes it as (id).

GET /mech-jeb/ascent-thrust-limits/(id)/limit-to-prevent-overheats#

Whether to limit the throttle to keep parts from overheating.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-thrust-limits/(id)/limit-to-prevent-overheats#

Whether to limit the throttle to keep parts from overheating.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/limit-dynamic-pressure#

Whether to limit the dynamic pressure.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-thrust-limits/(id)/limit-dynamic-pressure#

Whether to limit the dynamic pressure.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/max-dynamic-pressure#

The largest dynamic pressure, in pascals.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-thrust-limits/(id)/max-dynamic-pressure#

The largest dynamic pressure, in pascals.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/limit-acceleration#

Whether to limit the acceleration.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-thrust-limits/(id)/limit-acceleration#

Whether to limit the acceleration.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/max-acceleration#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-thrust-limits/(id)/max-acceleration#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/limit-throttle#

Whether to limit the throttle.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-thrust-limits/(id)/limit-throttle#

Whether to limit the throttle.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/max-throttle#

The largest throttle, between 0 and 1.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-thrust-limits/(id)/max-throttle#

The largest throttle, between 0 and 1.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/limiter-min-throttle#

Whether to keep the throttle above GET /mech-jeb/ascent-thrust-limits/(id)/min-throttle.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-thrust-limits/(id)/limiter-min-throttle#

Whether to keep the throttle above GET /mech-jeb/ascent-thrust-limits/(id)/min-throttle.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/min-throttle#

The smallest throttle, between 0 and 1.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-thrust-limits/(id)/min-throttle#

The smallest throttle, between 0 and 1.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/electric-throttle#

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

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-thrust-limits/(id)/electric-throttle#

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

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/electric-throttle-lo#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-thrust-limits/(id)/electric-throttle-lo#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/electric-throttle-hi#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/ascent-thrust-limits/(id)/electric-throttle-hi#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/limit-to-prevent-unstable-ignition#

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

Note

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

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-thrust-limits/(id)/limit-to-prevent-unstable-ignition#

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

Note

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

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/ascent-thrust-limits/(id)/auto-rcs-ullaging#

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

Note

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

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/ascent-thrust-limits/(id)/auto-rcs-ullaging#

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

Note

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

Parameters:
Request JSON Object:
  • value (bool) – The new value.

PSGSettings#

PSGSettings

The settings of the Polynomial SQP Guidance ascent, from the Ascent Settings window and the PSG Stages window, and the state of its guidance.

Note

PSG plans which stages burn and coast from the vessel. The target orbit is set in AscentGuidance.

A PSGSettings object is passed and returned as its identifier, a number. A path that acts on an object takes it as (id).

GET /mech-jeb/psg-settings/(id)/pitch-start-height#

The height above the launch site at which the pitch program starts, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/pitch-start-height#

The height above the launch site at which the pitch program starts, in meters.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/pitch-rate#

The pitch rate of the pitch program, in \(\mathrm{deg/s}\).

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/pitch-rate#

The pitch rate of the pitch program, in \(\mathrm{deg/s}\).

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/drag-coefficient#

The drag coefficient guidance plans with.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/drag-coefficient#

The drag coefficient guidance plans with.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/reference-area#

The reference area guidance plans with, in \(\mathrm{m^{2}}\).

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/reference-area#

The reference area guidance plans with, in \(\mathrm{m^{2}}\).

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/auto-aero#

Whether guidance works out GET /mech-jeb/psg-settings/(id)/drag-coefficient and GET /mech-jeb/psg-settings/(id)/reference-area from the vessel before each solve.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/psg-settings/(id)/auto-aero#

Whether guidance works out GET /mech-jeb/psg-settings/(id)/drag-coefficient and GET /mech-jeb/psg-settings/(id)/reference-area from the vessel before each solve.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/psg-settings/(id)/limit-q-alpha#

The limit on dynamic pressure times angle of attack, in \(\mathrm{Pa \cdot rad}\).

Note

0 turns the limit off. MechJeb clamps it to at most 10000.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/limit-q-alpha#

The limit on dynamic pressure times angle of attack, in \(\mathrm{Pa \cdot rad}\).

Note

0 turns the limit off. MechJeb clamps it to at most 10000.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/min-delta-v#

The smallest delta-v of a stage that guidance plans with, in \(\mathrm{m/s}\).

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/min-delta-v#

The smallest delta-v of a stage that guidance plans with, in \(\mathrm{m/s}\).

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/max-coast#

The longest coast guidance plans, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/max-coast#

The longest coast guidance plans, in seconds.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/min-coast#

The shortest coast guidance plans, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/min-coast#

The shortest coast guidance plans, in seconds.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/ullage-lead-time#

The time before an ignition at which RCS settles the propellant, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/ullage-lead-time#

The time before an ignition at which RCS settles the propellant, in seconds.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/spinup-lead-time#

The time before staging at which the spin-up starts, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/spinup-lead-time#

The time before staging at which the spin-up starts, in seconds.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/spinup-angular-velocity#

The angular velocity of the spin-up, in \(\mathrm{rad/s}\).

Note

MechJeb’s window shows it in revolutions per minute.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/psg-settings/(id)/spinup-angular-velocity#

The angular velocity of the spin-up, in \(\mathrm{rad/s}\).

Note

MechJeb’s window shows it in revolutions per minute.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/psg-settings/(id)/has-solution#

Whether guidance has a solution.

Parameters:
Response JSON Object:
  • value (bool)

GET /mech-jeb/psg-settings/(id)/guidance-status#

The status of guidance.

Parameters:
Response JSON Object:
  • value (string)

GET /mech-jeb/psg-settings/(id)/time-to-go#

The time to the end of the current burn of the solution, in seconds.

Parameters:
Response JSON Object:
  • value (double)

GET /mech-jeb/psg-settings/(id)/velocity-to-go#

The delta-v left in the solution, in \(\mathrm{m/s}\).

Parameters:
Response JSON Object:
  • value (double)

GET /mech-jeb/psg-settings/(id)/pitch#

The pitch guidance commands, in degrees.

Parameters:
Response JSON Object:
  • value (double)

GET /mech-jeb/psg-settings/(id)/heading#

The heading guidance commands, in degrees.

Parameters:
Response JSON Object:
  • value (double)

ClassicPath#

ClassicPath

The settings of the classic ascent path, from the Ascent Path Editor window and the Ascent Settings window.

A ClassicPath object is passed and returned as its identifier, a number. A path that acts on an object takes it as (id).

GET /mech-jeb/classic-path/(id)/turn-start-altitude#

The altitude at which the turn starts, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/classic-path/(id)/turn-start-altitude#

The altitude at which the turn starts, in meters.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/classic-path/(id)/turn-start-velocity#

The speed at which the turn starts, in \(\mathrm{m/s}\).

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/classic-path/(id)/turn-start-velocity#

The speed at which the turn starts, in \(\mathrm{m/s}\).

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/classic-path/(id)/turn-end-altitude#

The altitude at which the turn ends, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/classic-path/(id)/turn-end-altitude#

The altitude at which the turn ends, in meters.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/classic-path/(id)/turn-end-angle#

The final flight path angle, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/classic-path/(id)/turn-end-angle#

The final flight path angle, in degrees.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/classic-path/(id)/turn-shape-exponent#

The steepness of the turn, between 0 and 1.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/classic-path/(id)/turn-shape-exponent#

The steepness of the turn, between 0 and 1.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/classic-path/(id)/auto-path#

Whether the autopilot chooses the turn altitudes and speed.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/classic-path/(id)/auto-path#

Whether the autopilot chooses the turn altitudes and speed.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/classic-path/(id)/auto-turn-percent#

The altitude at which an automatic turn starts, as a fraction of the height of the atmosphere.

Parameters:
Response JSON Object:
  • value (float)

PUT /mech-jeb/classic-path/(id)/auto-turn-percent#

The altitude at which an automatic turn starts, as a fraction of the height of the atmosphere.

Parameters:
Request JSON Object:
  • value (float) – The new value.

GET /mech-jeb/classic-path/(id)/auto-turn-speed-factor#

The factor that sets the speed at which an automatic turn starts.

Parameters:
Response JSON Object:
  • value (float)

PUT /mech-jeb/classic-path/(id)/auto-turn-speed-factor#

The factor that sets the speed at which an automatic turn starts.

Parameters:
Request JSON Object:
  • value (float) – The new value.

GET /mech-jeb/classic-path/(id)/auto-turn-start-altitude#

The altitude at which an automatic turn starts, in meters.

Parameters:
Response JSON Object:
  • value (double)

GET /mech-jeb/classic-path/(id)/auto-turn-start-velocity#

The speed at which an automatic turn starts, in \(\mathrm{m/s}\).

Parameters:
Response JSON Object:
  • value (double)

GET /mech-jeb/classic-path/(id)/auto-turn-end-altitude#

The altitude at which an automatic turn ends, in meters.

Parameters:
Response JSON Object:
  • value (double)

GET /mech-jeb/classic-path/(id)/corrective-steering#

Whether the autopilot steers by the velocity vector rather than the position vector.

Note

It is more accurate, though large craft may do better without it.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/classic-path/(id)/corrective-steering#

Whether the autopilot steers by the velocity vector rather than the position vector.

Note

It is more accurate, though large craft may do better without it.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/classic-path/(id)/corrective-steering-gain#

The gain of the corrective steering.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/classic-path/(id)/corrective-steering-gain#

The gain of the corrective steering.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/classic-path/(id)/limit-angle-of-attack#

Whether to limit the angle of attack.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/classic-path/(id)/limit-angle-of-attack#

Whether to limit the angle of attack.

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/classic-path/(id)/max-angle-of-attack#

The largest angle of attack, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/classic-path/(id)/max-angle-of-attack#

The largest angle of attack, in degrees.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/classic-path/(id)/angle-of-attack-limit-fadeout-pressure#

The dynamic pressure below which the angle of attack limit fades out, in pascals.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/classic-path/(id)/angle-of-attack-limit-fadeout-pressure#

The dynamic pressure below which the angle of attack limit fades out, in pascals.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/classic-path/(id)/skip-circularization#

Whether to skip the circularization burn.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/classic-path/(id)/skip-circularization#

Whether to skip the circularization burn.

Parameters:
Request JSON Object:
  • value (bool) – The new value.