ManeuverPlanner#

ManeuverPlanner

The Maneuver Planner window, which makes maneuver nodes for its operations, and executes them.

Note

MechJeb shares the operations, and most of their settings, between vessels.

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

GET /mech-jeb/maneuver-planner/(id)/operation-advanced-transfer#

The operation that transfers to another planet, at the departure that needs the least delta-v.

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

GET /mech-jeb/maneuver-planner/(id)/operation-apoapsis#

The operation that changes the apoapsis.

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

GET /mech-jeb/maneuver-planner/(id)/operation-circularize#

The operation that circularizes the orbit.

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

GET /mech-jeb/maneuver-planner/(id)/operation-course-correction#

The operation that fine tunes the closest approach to the target.

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

GET /mech-jeb/maneuver-planner/(id)/operation-eccentricity#

The operation that changes the eccentricity.

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

GET /mech-jeb/maneuver-planner/(id)/operation-ellipticize#

The operation that changes both the periapsis and the apoapsis.

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

GET /mech-jeb/maneuver-planner/(id)/operation-inclination#

The operation that changes the inclination.

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

GET /mech-jeb/maneuver-planner/(id)/operation-kill-rel-vel#

The operation that matches velocities with the target.

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

GET /mech-jeb/maneuver-planner/(id)/operation-lambert#

The operation that intercepts the target at a chosen time.

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

GET /mech-jeb/maneuver-planner/(id)/operation-lan#

The operation that changes the longitude of the ascending node.

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

GET /mech-jeb/maneuver-planner/(id)/operation-longitude#

The operation that changes the surface longitude of the apsis.

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

GET /mech-jeb/maneuver-planner/(id)/operation-moon-return#

The operation that returns from a moon.

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

GET /mech-jeb/maneuver-planner/(id)/operation-periapsis#

The operation that changes the periapsis.

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

GET /mech-jeb/maneuver-planner/(id)/operation-plane#

The operation that matches planes with the target.

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

GET /mech-jeb/maneuver-planner/(id)/operation-resonant-orbit#

The operation that changes to a resonant orbit.

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

GET /mech-jeb/maneuver-planner/(id)/operation-semi-major#

The operation that changes the semi-major axis.

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

GET /mech-jeb/maneuver-planner/(id)/operation-transfer#

The operation that transfers to the target.

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

POST /mech-jeb/maneuver-planner/(id)/abort-node-execution#

Stop executing the maneuver nodes.

Parameters:
POST /mech-jeb/maneuver-planner/(id)/execute-all-nodes#

Execute all the maneuver nodes. Throws an exception if the vessel has no maneuver node.

Parameters:
POST /mech-jeb/maneuver-planner/(id)/execute-next-node#

Execute the next maneuver node. Throws an exception if the vessel has no maneuver node.

Parameters:
GET /mech-jeb/maneuver-planner/(id)/autowarp#

Whether to warp time to the burn.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/maneuver-planner/(id)/autowarp#

Whether to warp time to the burn.

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

GET /mech-jeb/maneuver-planner/(id)/executing-node#

Whether a maneuver node is being executed.

Parameters:
Response JSON Object:
  • value (bool)

GET /mech-jeb/maneuver-planner/(id)/lead-time#

The time before the burn at which time warp stops, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/maneuver-planner/(id)/lead-time#

The time before the burn at which time warp stops, in seconds.

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

GET /mech-jeb/maneuver-planner/(id)/rcs-only#

Whether to burn with the RCS thrusters in place of the engines.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/maneuver-planner/(id)/rcs-only#

Whether to burn with the RCS thrusters in place of the engines.

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

GET /mech-jeb/maneuver-planner/(id)/kill-roll-rotation#

Whether to stop the vessel’s roll before the burn.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/maneuver-planner/(id)/kill-roll-rotation#

Whether to stop the vessel’s roll before the burn.

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

GET /mech-jeb/maneuver-planner/(id)/operation-stationary-orbit#

The operation that transfers to the stationary orbit of the body.

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

GET /mech-jeb/maneuver-planner/(id)/initial-warp-lead-time#

The time before the burn at which the first, coarse time warp stops, in seconds.

Note

A burn further away than this is warped to in two steps: to this time before it, then to GET /mech-jeb/maneuver-planner/(id)/lead-time once the vessel is aligned.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/maneuver-planner/(id)/initial-warp-lead-time#

The time before the burn at which the first, coarse time warp stops, in seconds.

Note

A burn further away than this is warped to in two steps: to this time before it, then to GET /mech-jeb/maneuver-planner/(id)/lead-time once the vessel is aligned.

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

GET /mech-jeb/maneuver-planner/(id)/aligned-tolerance#

The angle from the burn direction within which the burn starts, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/maneuver-planner/(id)/aligned-tolerance#

The angle from the burn direction within which the burn starts, in degrees.

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

GET /mech-jeb/maneuver-planner/(id)/warp-aligned-tolerance#

The angle from the burn direction within which time warp to the burn starts, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/maneuver-planner/(id)/warp-aligned-tolerance#

The angle from the burn direction within which time warp to the burn starts, in degrees.

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

OperationException

Thrown when an operation cannot make its nodes, such as when it needs a target and there is none.

Returned as an error whose service and name are "MechJeb" and "OperationException".

TimeSelector#

TimeSelector

The time of a maneuver.

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

GET /mech-jeb/time-selector/(id)/circularize-altitude#

The altitude, in meters.

Note

Applies to "altitude".

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/time-selector/(id)/circularize-altitude#

The altitude, in meters.

Note

Applies to "altitude".

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

GET /mech-jeb/time-selector/(id)/lead-time#

The time from now, in seconds.

Note

Applies to "x_from_now".

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/time-selector/(id)/lead-time#

The time from now, in seconds.

Note

Applies to "x_from_now".

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

GET /mech-jeb/time-selector/(id)/time-reference#

The time reference. Throws an exception if set to a reference the operation does not allow.

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

PUT /mech-jeb/time-selector/(id)/time-reference#

The time reference. Throws an exception if set to a reference the operation does not allow.

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

TimeReference

The time reference of a maneuver. See GET /mech-jeb/time-selector/(id)/time-reference.

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

"computed"

At the optimum time.

"x_from_now"

After GET /mech-jeb/time-selector/(id)/lead-time.

"apoapsis"

At the next apoapsis.

"periapsis"

At the next periapsis.

"altitude"

At GET /mech-jeb/time-selector/(id)/circularize-altitude.

"eq_ascending"

At the equatorial ascending node.

"eq_descending"

At the equatorial descending node.

"rel_ascending"

At the next ascending node with the target.

"rel_descending"

At the next descending node with the target.

"closest_approach"

At the closest approach to the target.

"eq_highest_ad"

At the cheaper of the equatorial ascending and descending nodes.

"eq_nearest_ad"

At the nearer of the equatorial ascending and descending nodes.

"rel_highest_ad"

At the cheaper of the ascending and descending nodes with the target.

"rel_nearest_ad"

At the nearer of the ascending and descending nodes with the target.

Operations#

OperationAdvancedTransfer#

OperationAdvancedTransfer

An interplanetary transfer to the target body. The departure and transfer time come from a search, chosen as GET /mech-jeb/operation-advanced-transfer/(id)/mode sets.

Note

MechJeb searches in the background. The first call to MakeNodes starts the search, and throws an OperationException until it finishes. See GET /mech-jeb/operation-advanced-transfer/(id)/searching.

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

GET /mech-jeb/operation-advanced-transfer/(id)/max-arrival-time#

The latest arrival time, as a time from now, in seconds.

Note

Applies in the "limited_time" mode. MakeNodes computes a default for a new target, from the synodic period and the transfer time, unless it was set while the target was selected.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-advanced-transfer/(id)/max-arrival-time#

The latest arrival time, as a time from now, in seconds.

Note

Applies in the "limited_time" mode. MakeNodes computes a default for a new target, from the synodic period and the transfer time, unless it was set while the target was selected.

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

GET /mech-jeb/operation-advanced-transfer/(id)/include-capture-burn#

Whether to plan a capture burn at the destination.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/operation-advanced-transfer/(id)/include-capture-burn#

Whether to plan a capture burn at the destination.

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

GET /mech-jeb/operation-advanced-transfer/(id)/periapsis-height#

The altitude of the periapsis at the destination, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-advanced-transfer/(id)/periapsis-height#

The altitude of the periapsis at the destination, in meters.

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

GET /mech-jeb/operation-advanced-transfer/(id)/searching#

Whether MechJeb is searching for the departure.

Parameters:
Response JSON Object:
  • value (bool)

GET /mech-jeb/operation-advanced-transfer/(id)/search-progress#

The progress of the search for the departure, as a percentage.

Parameters:
Response JSON Object:
  • value (int32)

GET /mech-jeb/operation-advanced-transfer/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-advanced-transfer/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-advanced-transfer/(id)/mode#

How the search chooses the departure and transfer time.

Note

Setting it stops a search, so the next MakeNodes starts one.

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

PUT /mech-jeb/operation-advanced-transfer/(id)/mode#

How the search chooses the departure and transfer time.

Note

Setting it stops a search, so the next MakeNodes starts one.

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

GET /mech-jeb/operation-advanced-transfer/(id)/target-inclination-flag#

Whether to aim for GET /mech-jeb/operation-advanced-transfer/(id)/target-inclination at the target.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/operation-advanced-transfer/(id)/target-inclination-flag#

Whether to aim for GET /mech-jeb/operation-advanced-transfer/(id)/target-inclination at the target.

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

GET /mech-jeb/operation-advanced-transfer/(id)/target-inclination#

The inclination of the orbit at the target, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-advanced-transfer/(id)/target-inclination#

The inclination of the orbit at the target, in degrees.

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

GET /mech-jeb/operation-advanced-transfer/(id)/search-failed#

Whether the search finished and found no transfer.

Parameters:
Response JSON Object:
  • value (bool)

POST /mech-jeb/operation-advanced-transfer/(id)/select-lowest-delta-v#

Select the departure and transfer time that need the least delta-v. The search selects them when it finishes. Throws an exception if GET /mech-jeb/operation-advanced-transfer/(id)/mode is not "porkchop", or the search has not finished.

Parameters:
POST /mech-jeb/operation-advanced-transfer/(id)/select-asap#

Select the earliest departure, with the transfer time that needs the least delta-v for it. Throws an exception if GET /mech-jeb/operation-advanced-transfer/(id)/mode is not "porkchop", or the search has not finished.

Parameters:
POST /mech-jeb/operation-advanced-transfer/(id)/select#

Select the departure and transfer time nearest the given ones. Throws an exception if GET /mech-jeb/operation-advanced-transfer/(id)/mode is not "porkchop", the search has not finished, or there is no transfer near those times.

Parameters:
Request JSON Object:
  • departure_time (double) – The universal time of the departure, in seconds.

  • duration (double) – The transfer time, in seconds.

GET /mech-jeb/operation-advanced-transfer/(id)/selected-departure-time#

The universal time of the selected departure, in seconds. Throws an exception if the search has not finished.

Parameters:
Response JSON Object:
  • value (double)

GET /mech-jeb/operation-advanced-transfer/(id)/selected-duration#

The selected transfer time, in seconds. Throws an exception if the search has not finished.

Parameters:
Response JSON Object:
  • value (double)

GET /mech-jeb/operation-advanced-transfer/(id)/selected-delta-v#

The delta-v of the selected transfer that the search estimates, in \(\mathrm{m/s}\). Throws an exception if the search has not finished.

Parameters:
Response JSON Object:
  • value (double)

AdvancedTransferMode

How the advanced transfer chooses the departure and transfer time. See GET /mech-jeb/operation-advanced-transfer/(id)/mode.

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

"limited_time"

The transfer that needs the least delta-v and arrives before GET /mech-jeb/operation-advanced-transfer/(id)/max-arrival-time.

"porkchop"

A transfer from a grid of departures and transfer times, the porkchop plot of MechJeb’s window. The one that needs the least delta-v, unless another is selected.

OperationApoapsis#

OperationApoapsis

Change the apoapsis.

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

GET /mech-jeb/operation-apoapsis/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-apoapsis/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-apoapsis/(id)/new-apoapsis#

The new apoapsis altitude, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-apoapsis/(id)/new-apoapsis#

The new apoapsis altitude, in meters.

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

GET /mech-jeb/operation-apoapsis/(id)/time-selector#

The time of the maneuver.

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

OperationCircularize#

OperationCircularize

Circularize the orbit.

Note

To raise the periapsis to the apoapsis, set the time to "apoapsis", and to lower the apoapsis to the periapsis, set it to "periapsis". These are the cheapest.

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

GET /mech-jeb/operation-circularize/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-circularize/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-circularize/(id)/time-selector#

The time of the maneuver.

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

OperationCourseCorrection#

OperationCourseCorrection

Fine tune the closest approach to the target.

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

GET /mech-jeb/operation-course-correction/(id)/final-periapsis-altitude#

The periapsis altitude at a target body, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-course-correction/(id)/final-periapsis-altitude#

The periapsis altitude at a target body, in meters.

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

GET /mech-jeb/operation-course-correction/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

GET /mech-jeb/operation-course-correction/(id)/intercept-distance#

The closest approach distance to a target vessel, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-course-correction/(id)/intercept-distance#

The closest approach distance to a target vessel, in meters.

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

POST /mech-jeb/operation-course-correction/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-course-correction/(id)/inclination-flag#

Whether to aim for GET /mech-jeb/operation-course-correction/(id)/inclination at the target.

Note

Applies when the target is a celestial body.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/operation-course-correction/(id)/inclination-flag#

Whether to aim for GET /mech-jeb/operation-course-correction/(id)/inclination at the target.

Note

Applies when the target is a celestial body.

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

GET /mech-jeb/operation-course-correction/(id)/inclination#

The inclination of the orbit at the target, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-course-correction/(id)/inclination#

The inclination of the orbit at the target, in degrees.

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

OperationEccentricity#

OperationEccentricity

Change the eccentricity.

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

GET /mech-jeb/operation-eccentricity/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-eccentricity/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-eccentricity/(id)/new-eccentricity#

The new eccentricity.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-eccentricity/(id)/new-eccentricity#

The new eccentricity.

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

GET /mech-jeb/operation-eccentricity/(id)/time-selector#

The time of the maneuver.

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

OperationEllipticize#

OperationEllipticize

Change both the periapsis and the apoapsis.

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

GET /mech-jeb/operation-ellipticize/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-ellipticize/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-ellipticize/(id)/new-apoapsis#

The new apoapsis altitude, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-ellipticize/(id)/new-apoapsis#

The new apoapsis altitude, in meters.

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

GET /mech-jeb/operation-ellipticize/(id)/new-periapsis#

The new periapsis altitude, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-ellipticize/(id)/new-periapsis#

The new periapsis altitude, in meters.

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

GET /mech-jeb/operation-ellipticize/(id)/time-selector#

The time of the maneuver.

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

OperationInclination#

OperationInclination

Change the inclination.

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

GET /mech-jeb/operation-inclination/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-inclination/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-inclination/(id)/new-inclination#

The new inclination, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-inclination/(id)/new-inclination#

The new inclination, in degrees.

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

GET /mech-jeb/operation-inclination/(id)/time-selector#

The time of the maneuver.

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

OperationKillRelVel#

OperationKillRelVel

Match velocities with the target.

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

GET /mech-jeb/operation-kill-rel-vel/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-kill-rel-vel/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-kill-rel-vel/(id)/time-selector#

The time of the maneuver.

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

OperationLambert#

OperationLambert

Intercept the target at a chosen time.

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

GET /mech-jeb/operation-lambert/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

GET /mech-jeb/operation-lambert/(id)/intercept-interval#

The time from the maneuver to the intercept, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-lambert/(id)/intercept-interval#

The time from the maneuver to the intercept, in seconds.

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

POST /mech-jeb/operation-lambert/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-lambert/(id)/time-selector#

The time of the maneuver.

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

OperationLan#

OperationLan

Change the longitude of the ascending node.

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

GET /mech-jeb/operation-lan/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-lan/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-lan/(id)/new-lan#

The new longitude of the ascending node, in degrees.

Note

MechJeb holds this value in the target controller of each vessel, as the longitude of the position target. Setting it also moves the position target.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-lan/(id)/new-lan#

The new longitude of the ascending node, in degrees.

Note

MechJeb holds this value in the target controller of each vessel, as the longitude of the position target. Setting it also moves the position target.

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

GET /mech-jeb/operation-lan/(id)/time-selector#

The time of the maneuver.

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

OperationLongitude#

OperationLongitude

Change the surface longitude of the apsis.

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

GET /mech-jeb/operation-longitude/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-longitude/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-longitude/(id)/new-surface-longitude#

The new surface longitude of the apsis after one orbit, in degrees.

Note

MechJeb holds this value in the target controller of each vessel, as the longitude of the position target. Setting it also moves the position target.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-longitude/(id)/new-surface-longitude#

The new surface longitude of the apsis after one orbit, in degrees.

Note

MechJeb holds this value in the target controller of each vessel, as the longitude of the position target. Setting it also moves the position target.

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

GET /mech-jeb/operation-longitude/(id)/time-selector#

The time of the maneuver.

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

OperationMoonReturn#

OperationMoonReturn

Return from a moon to the body it orbits.

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

GET /mech-jeb/operation-moon-return/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-moon-return/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-moon-return/(id)/moon-return-altitude#

The approximate periapsis altitude at the body, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-moon-return/(id)/moon-return-altitude#

The approximate periapsis altitude at the body, in meters.

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

GET /mech-jeb/operation-moon-return/(id)/inclination-flag#

Whether to aim for GET /mech-jeb/operation-moon-return/(id)/inclination.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/operation-moon-return/(id)/inclination-flag#

Whether to aim for GET /mech-jeb/operation-moon-return/(id)/inclination.

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

GET /mech-jeb/operation-moon-return/(id)/inclination#

The inclination of the orbit around the body after the return, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-moon-return/(id)/inclination#

The inclination of the orbit around the body after the return, in degrees.

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

OperationPeriapsis#

OperationPeriapsis

Change the periapsis.

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

GET /mech-jeb/operation-periapsis/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-periapsis/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-periapsis/(id)/new-periapsis#

The new periapsis altitude, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-periapsis/(id)/new-periapsis#

The new periapsis altitude, in meters.

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

GET /mech-jeb/operation-periapsis/(id)/time-selector#

The time of the maneuver.

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

OperationPlane#

OperationPlane

Match planes with the target.

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

GET /mech-jeb/operation-plane/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-plane/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-plane/(id)/time-selector#

The time of the maneuver.

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

OperationResonantOrbit#

OperationResonantOrbit

Change to a resonant orbit, to place satellites in a constellation.

Note

Start from an orbit in the plane of the constellation. To deploy satellites, set the denominator to their number. A numerator one less than the denominator is the cheapest, though not the fastest. The two numbers must have no common factor.

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

GET /mech-jeb/operation-resonant-orbit/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-resonant-orbit/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-resonant-orbit/(id)/resonance-denominator#

The denominator of the ratio of the new orbital period to the current one.

Parameters:
Response JSON Object:
  • value (int32)

PUT /mech-jeb/operation-resonant-orbit/(id)/resonance-denominator#

The denominator of the ratio of the new orbital period to the current one.

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

GET /mech-jeb/operation-resonant-orbit/(id)/resonance-numerator#

The numerator of the ratio of the new orbital period to the current one.

Parameters:
Response JSON Object:
  • value (int32)

PUT /mech-jeb/operation-resonant-orbit/(id)/resonance-numerator#

The numerator of the ratio of the new orbital period to the current one.

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

GET /mech-jeb/operation-resonant-orbit/(id)/time-selector#

The time of the maneuver.

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

OperationSemiMajor#

OperationSemiMajor

Change the semi-major axis.

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

GET /mech-jeb/operation-semi-major/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-semi-major/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-semi-major/(id)/new-semi-major-axis#

The new semi-major axis, in meters.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-semi-major/(id)/new-semi-major-axis#

The new semi-major axis, in meters.

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

GET /mech-jeb/operation-semi-major/(id)/time-selector#

The time of the maneuver.

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

OperationStationaryOrbit#

OperationStationaryOrbit

A transfer to the stationary orbit of the body, above GET /mech-jeb/operation-stationary-orbit/(id)/target-longitude.

Note

The transfer is a Hohmann transfer with a second node to circularize. Throws an OperationException from MakeNodes if the stationary orbit is outside the body’s sphere of influence.

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

GET /mech-jeb/operation-stationary-orbit/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-stationary-orbit/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-stationary-orbit/(id)/target-longitude#

The surface longitude to stay above, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-stationary-orbit/(id)/target-longitude#

The surface longitude to stay above, in degrees.

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

OperationTransfer#

OperationTransfer

A bi-impulsive (Hohmann) transfer to the target, within one sphere of influence. It suits a rendezvous with a vessel or a transfer to a moon.

Note

Despite the name, the transfer is often uni-impulsive. It happens at the selected time, or at the optimum time.

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

GET /mech-jeb/operation-transfer/(id)/error-message#

The warning or error from the last call to MakeNodes, or an empty string.

Parameters:
Response JSON Object:
  • value (string)

POST /mech-jeb/operation-transfer/(id)/make-nodes#

Make the maneuver nodes of the operation. Throws an OperationException if the operation cannot make them.

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

Parameters:
Response JSON Object:
  • value (list<SpaceCenter.Node>) – The maneuver nodes.

GET /mech-jeb/operation-transfer/(id)/capture#

Whether the transfer ends in the target’s orbit. Without capture, it is an impact or a flyby.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/operation-transfer/(id)/capture#

Whether the transfer ends in the target’s orbit. Without capture, it is an impact or a flyby.

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

GET /mech-jeb/operation-transfer/(id)/plan-capture#

Whether to make a second node for the capture burn.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/operation-transfer/(id)/plan-capture#

Whether to make a second node for the capture burn.

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

GET /mech-jeb/operation-transfer/(id)/match-orbit#

Whether to reach the target’s orbit, ahead of or behind the target, rather than meet the target.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/operation-transfer/(id)/match-orbit#

Whether to reach the target’s orbit, ahead of or behind the target, rather than meet the target.

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

GET /mech-jeb/operation-transfer/(id)/lag-time#

The time by which the vessel arrives behind the target, in seconds.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/operation-transfer/(id)/lag-time#

The time by which the vessel arrives behind the target, in seconds.

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

GET /mech-jeb/operation-transfer/(id)/coplanar#

Whether the transfer stays in the vessel’s orbital plane.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/operation-transfer/(id)/coplanar#

Whether the transfer stays in the vessel’s orbital plane.

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

GET /mech-jeb/operation-transfer/(id)/time-selector#

The time of the maneuver.

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