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:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationAdvancedTransfer)
- GET /mech-jeb/maneuver-planner/(id)/operation-apoapsis#
The operation that changes the apoapsis.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationApoapsis)
- GET /mech-jeb/maneuver-planner/(id)/operation-circularize#
The operation that circularizes the orbit.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationCourseCorrection)
- GET /mech-jeb/maneuver-planner/(id)/operation-eccentricity#
The operation that changes the eccentricity.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationEllipticize)
- GET /mech-jeb/maneuver-planner/(id)/operation-inclination#
The operation that changes the inclination.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationInclination)
- GET /mech-jeb/maneuver-planner/(id)/operation-interplanetary-transfer#
The operation that transfers to another planet.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationInterplanetaryTransfer)
- GET /mech-jeb/maneuver-planner/(id)/operation-kill-rel-vel#
The operation that matches velocities with the target.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationLongitude)
- GET /mech-jeb/maneuver-planner/(id)/operation-moon-return#
The operation that returns from a moon.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationMoonReturn)
- GET /mech-jeb/maneuver-planner/(id)/operation-periapsis#
The operation that changes the periapsis.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationPeriapsis)
- GET /mech-jeb/maneuver-planner/(id)/operation-plane#
The operation that matches planes with the target.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationPlane)
- GET /mech-jeb/maneuver-planner/(id)/operation-resonant-orbit#
The operation that changes to a resonant orbit.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationResonantOrbit)
- GET /mech-jeb/maneuver-planner/(id)/operation-semi-major#
The operation that changes the semi-major axis.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationSemiMajor)
- GET /mech-jeb/maneuver-planner/(id)/operation-transfer#
The operation that transfers to the target.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (MechJeb.OperationTransfer)
- POST /mech-jeb/maneuver-planner/(id)/abort-node-execution#
Stop executing the maneuver nodes.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- GET /mech-jeb/maneuver-planner/(id)/autowarp#
Whether to warp time to the burn.
Note
The same setting as
GET /mech-jeb/ascent-settings/(id)/autowarp,GET /mech-jeb/landing-guidance/(id)/autowarpandGET /mech-jeb/rendezvous-autopilot/(id)/autowarp.- Parameters:
id – The identifier of the ManeuverPlanner object.
- Response JSON Object:
value (bool)
- PUT /mech-jeb/maneuver-planner/(id)/autowarp#
Whether to warp time to the burn.
Note
The same setting as
GET /mech-jeb/ascent-settings/(id)/autowarp,GET /mech-jeb/landing-guidance/(id)/autowarpandGET /mech-jeb/rendezvous-autopilot/(id)/autowarp.- Parameters:
id – The identifier of the ManeuverPlanner object.
- Request JSON Object:
value (bool) – The new value.
- GET /mech-jeb/maneuver-planner/(id)/executing-node#
Whether a maneuver node is being executed.
- Parameters:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- 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:
id – The identifier of the ManeuverPlanner object.
- Request JSON Object:
value (bool) – 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:
id – The identifier of the TimeSelector object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/time-selector/(id)/circularize-altitude#
The altitude, in meters.
Note
Applies to
"altitude".- Parameters:
id – The identifier of the TimeSelector object.
- 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:
id – The identifier of the TimeSelector object.
- 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:
id – The identifier of the TimeSelector object.
- 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:
id – The identifier of the TimeSelector object.
- 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:
id – The identifier of the TimeSelector object.
- 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""apoapsis"At the next apoapsis.
"periapsis"At the next periapsis.
"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, at the departure that needs the least
delta-v before GET /mech-jeb/operation-advanced-transfer/(id)/max-arrival-time.
Note
MechJeb searches for the departure 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.
- Parameters:
id – The identifier of the OperationAdvancedTransfer object.
- 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.
- Parameters:
id – The identifier of the OperationAdvancedTransfer object.
- 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:
id – The identifier of the OperationAdvancedTransfer object.
- 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:
id – The identifier of the OperationAdvancedTransfer object.
- 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:
id – The identifier of the OperationAdvancedTransfer object.
- 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:
id – The identifier of the OperationAdvancedTransfer object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-advanced-transfer/(id)/searching#
Whether MechJeb is searching for the departure.
- Parameters:
id – The identifier of the OperationAdvancedTransfer object.
- 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:
id – The identifier of the OperationAdvancedTransfer object.
- 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:
id – The identifier of the OperationAdvancedTransfer object.
- 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:
id – The identifier of the OperationAdvancedTransfer object.
- Response JSON Object:
value (list<SpaceCenter.Node>) – The maneuver nodes.
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:
id – The identifier of the OperationApoapsis object.
- 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:
id – The identifier of the OperationApoapsis object.
- 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:
id – The identifier of the OperationApoapsis object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/operation-apoapsis/(id)/new-apoapsis#
The new apoapsis altitude, in meters.
- Parameters:
id – The identifier of the OperationApoapsis object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-apoapsis/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationApoapsis object.
- 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:
id – The identifier of the OperationCircularize object.
- 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:
id – The identifier of the OperationCircularize object.
- Response JSON Object:
value (list<SpaceCenter.Node>) – The maneuver nodes.
- GET /mech-jeb/operation-circularize/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationCircularize object.
- 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:
id – The identifier of the OperationCourseCorrection object.
- 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:
id – The identifier of the OperationCourseCorrection object.
- 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:
id – The identifier of the OperationCourseCorrection object.
- 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:
id – The identifier of the OperationCourseCorrection object.
- 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:
id – The identifier of the OperationCourseCorrection object.
- 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:
id – The identifier of the OperationCourseCorrection object.
- Response JSON Object:
value (list<SpaceCenter.Node>) – The maneuver nodes.
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:
id – The identifier of the OperationEccentricity object.
- 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:
id – The identifier of the OperationEccentricity object.
- Response JSON Object:
value (list<SpaceCenter.Node>) – The maneuver nodes.
- GET /mech-jeb/operation-eccentricity/(id)/new-eccentricity#
The new eccentricity.
- Parameters:
id – The identifier of the OperationEccentricity object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/operation-eccentricity/(id)/new-eccentricity#
The new eccentricity.
- Parameters:
id – The identifier of the OperationEccentricity object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-eccentricity/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationEccentricity object.
- 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:
id – The identifier of the OperationEllipticize object.
- 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:
id – The identifier of the OperationEllipticize object.
- 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:
id – The identifier of the OperationEllipticize object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/operation-ellipticize/(id)/new-apoapsis#
The new apoapsis altitude, in meters.
- Parameters:
id – The identifier of the OperationEllipticize object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-ellipticize/(id)/new-periapsis#
The new periapsis altitude, in meters.
- Parameters:
id – The identifier of the OperationEllipticize object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/operation-ellipticize/(id)/new-periapsis#
The new periapsis altitude, in meters.
- Parameters:
id – The identifier of the OperationEllipticize object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-ellipticize/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationEllipticize object.
- 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:
id – The identifier of the OperationInclination object.
- 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:
id – The identifier of the OperationInclination object.
- Response JSON Object:
value (list<SpaceCenter.Node>) – The maneuver nodes.
- GET /mech-jeb/operation-inclination/(id)/new-inclination#
The new inclination, in degrees.
- Parameters:
id – The identifier of the OperationInclination object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/operation-inclination/(id)/new-inclination#
The new inclination, in degrees.
- Parameters:
id – The identifier of the OperationInclination object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-inclination/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationInclination object.
- Response JSON Object:
value (MechJeb.TimeSelector)
OperationInterplanetaryTransfer#
OperationInterplanetaryTransfer
Transfer to another planet.
A OperationInterplanetaryTransfer 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-interplanetary-transfer/(id)/error-message#
The warning or error from the last call to
MakeNodes, or an empty string.- Parameters:
id – The identifier of the OperationInterplanetaryTransfer object.
- Response JSON Object:
value (string)
- POST /mech-jeb/operation-interplanetary-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:
id – The identifier of the OperationInterplanetaryTransfer object.
- Response JSON Object:
value (list<SpaceCenter.Node>) – The maneuver nodes.
- GET /mech-jeb/operation-interplanetary-transfer/(id)/wait-for-phase-angle#
Whether to wait for the optimal phase angle. Otherwise the transfer happens now.
- Parameters:
id – The identifier of the OperationInterplanetaryTransfer object.
- Response JSON Object:
value (bool)
- PUT /mech-jeb/operation-interplanetary-transfer/(id)/wait-for-phase-angle#
Whether to wait for the optimal phase angle. Otherwise the transfer happens now.
- Parameters:
id – The identifier of the OperationInterplanetaryTransfer object.
- Request JSON Object:
value (bool) – The new value.
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:
id – The identifier of the OperationKillRelVel object.
- 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:
id – The identifier of the OperationKillRelVel object.
- 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:
id – The identifier of the OperationKillRelVel object.
- 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:
id – The identifier of the OperationLambert object.
- Response JSON Object:
value (string)
- GET /mech-jeb/operation-lambert/(id)/intercept-interval#
The time from the maneuver to the intercept, in seconds.
- Parameters:
id – The identifier of the OperationLambert object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/operation-lambert/(id)/intercept-interval#
The time from the maneuver to the intercept, in seconds.
- Parameters:
id – The identifier of the OperationLambert object.
- 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:
id – The identifier of the OperationLambert object.
- Response JSON Object:
value (list<SpaceCenter.Node>) – The maneuver nodes.
- GET /mech-jeb/operation-lambert/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationLambert object.
- 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:
id – The identifier of the OperationLan object.
- 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:
id – The identifier of the OperationLan object.
- 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:
id – The identifier of the OperationLan object.
- 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:
id – The identifier of the OperationLan object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-lan/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationLan object.
- 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:
id – The identifier of the OperationLongitude object.
- 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:
id – The identifier of the OperationLongitude object.
- 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:
id – The identifier of the OperationLongitude object.
- 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:
id – The identifier of the OperationLongitude object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-longitude/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationLongitude object.
- 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:
id – The identifier of the OperationMoonReturn object.
- 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:
id – The identifier of the OperationMoonReturn object.
- 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:
id – The identifier of the OperationMoonReturn object.
- 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:
id – The identifier of the OperationMoonReturn object.
- 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:
id – The identifier of the OperationPeriapsis object.
- 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:
id – The identifier of the OperationPeriapsis object.
- 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:
id – The identifier of the OperationPeriapsis object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/operation-periapsis/(id)/new-periapsis#
The new periapsis altitude, in meters.
- Parameters:
id – The identifier of the OperationPeriapsis object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-periapsis/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationPeriapsis object.
- 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:
id – The identifier of the OperationPlane object.
- 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:
id – The identifier of the OperationPlane object.
- Response JSON Object:
value (list<SpaceCenter.Node>) – The maneuver nodes.
- GET /mech-jeb/operation-plane/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationPlane object.
- 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:
id – The identifier of the OperationResonantOrbit object.
- 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:
id – The identifier of the OperationResonantOrbit object.
- 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:
id – The identifier of the OperationResonantOrbit object.
- 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:
id – The identifier of the OperationResonantOrbit object.
- 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:
id – The identifier of the OperationResonantOrbit object.
- 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:
id – The identifier of the OperationResonantOrbit object.
- Request JSON Object:
value (int32) – The new value.
- GET /mech-jeb/operation-resonant-orbit/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationResonantOrbit object.
- 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:
id – The identifier of the OperationSemiMajor object.
- 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:
id – The identifier of the OperationSemiMajor object.
- 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:
id – The identifier of the OperationSemiMajor object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/operation-semi-major/(id)/new-semi-major-axis#
The new semi-major axis, in meters.
- Parameters:
id – The identifier of the OperationSemiMajor object.
- Request JSON Object:
value (double) – The new value.
- GET /mech-jeb/operation-semi-major/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationSemiMajor object.
- Response JSON Object:
value (MechJeb.TimeSelector)
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:
id – The identifier of the OperationTransfer object.
- 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:
id – The identifier of the OperationTransfer object.
- 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:
id – The identifier of the OperationTransfer object.
- 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:
id – The identifier of the OperationTransfer object.
- 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.
Note
- Parameters:
id – The identifier of the OperationTransfer object.
- Response JSON Object:
value (bool)
- PUT /mech-jeb/operation-transfer/(id)/plan-capture#
Whether to make a second node for the capture burn.
Note
- Parameters:
id – The identifier of the OperationTransfer object.
- Request JSON Object:
value (bool) – The new value.
- GET /mech-jeb/operation-transfer/(id)/rendezvous#
Whether to meet the target, rather than reach its orbit.
- Parameters:
id – The identifier of the OperationTransfer object.
- Response JSON Object:
value (bool)
- PUT /mech-jeb/operation-transfer/(id)/rendezvous#
Whether to meet the target, rather than reach its orbit.
- Parameters:
id – The identifier of the OperationTransfer object.
- 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.
Note
- Parameters:
id – The identifier of the OperationTransfer object.
- 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.
Note
- Parameters:
id – The identifier of the OperationTransfer object.
- 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:
id – The identifier of the OperationTransfer object.
- Response JSON Object:
value (bool)
- PUT /mech-jeb/operation-transfer/(id)/coplanar#
Whether the transfer stays in the vessel’s orbital plane.
- Parameters:
id – The identifier of the OperationTransfer object.
- Request JSON Object:
value (bool) – The new value.
- GET /mech-jeb/operation-transfer/(id)/time-selector#
The time of the maneuver.
- Parameters:
id – The identifier of the OperationTransfer object.
- Response JSON Object:
value (MechJeb.TimeSelector)