Node#
Node
Represents a maneuver node. Can be created using POST /space-center/control/(id)/add-node.
A Node object is passed and returned as its identifier, a number. A path that acts on
an object takes it as (id).
- GET /space-center/node/(id)/prograde#
The magnitude of the maneuver nodes delta-v in the prograde direction, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (double)
- PUT /space-center/node/(id)/prograde#
The magnitude of the maneuver nodes delta-v in the prograde direction, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
value (double) – The new value.
- GET /space-center/node/(id)/normal#
The magnitude of the maneuver nodes delta-v in the normal direction, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (double)
- PUT /space-center/node/(id)/normal#
The magnitude of the maneuver nodes delta-v in the normal direction, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
value (double) – The new value.
- GET /space-center/node/(id)/radial#
The magnitude of the maneuver nodes delta-v in the radial direction, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (double)
- PUT /space-center/node/(id)/radial#
The magnitude of the maneuver nodes delta-v in the radial direction, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
value (double) – The new value.
- GET /space-center/node/(id)/delta-v#
The delta-v of the maneuver node, in \(\mathrm{m/s}\).
Note
Does not change when executing the maneuver node. See
GET /space-center/node/(id)/remaining-delta-v.- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (double)
- PUT /space-center/node/(id)/delta-v#
The delta-v of the maneuver node, in \(\mathrm{m/s}\).
Note
Does not change when executing the maneuver node. See
GET /space-center/node/(id)/remaining-delta-v.- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
value (double) – The new value.
- GET /space-center/node/(id)/remaining-delta-v#
Gets the remaining delta-v of the maneuver node, in \(\mathrm{m/s}\). Changes as the node is executed. This is equivalent to the delta-v reported in-game.
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (double)
- POST /space-center/node/(id)/burn-vector#
Returns the burn vector for the maneuver node.
Note
Does not change when executing the maneuver node. See
POST /space-center/node/(id)/remaining-burn-vector.- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
reference_frame (SpaceCenter.ReferenceFrame?) – The reference frame that the returned vector is in. Defaults to
GET /space-center/vessel/(id)/orbital-reference-frame. Optional, defaults tonull.
- Response JSON Object:
value (tuple<double, double, double>) – A vector whose direction is the direction of the maneuver node burn, and magnitude is the delta-v of the burn in \(\mathrm{m/s}\).
- POST /space-center/node/(id)/remaining-burn-vector#
Returns the remaining burn vector for the maneuver node.
Note
Changes as the maneuver node is executed. See
POST /space-center/node/(id)/burn-vector.- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
reference_frame (SpaceCenter.ReferenceFrame?) – The reference frame that the returned vector is in. Defaults to
GET /space-center/vessel/(id)/orbital-reference-frame. Optional, defaults tonull.
- Response JSON Object:
value (tuple<double, double, double>) – A vector whose direction is the direction of the maneuver node burn, and magnitude is the delta-v of the burn in \(\mathrm{m/s}\).
- GET /space-center/node/(id)/ut#
The universal time at which the maneuver will occur, in seconds.
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (double)
- PUT /space-center/node/(id)/ut#
The universal time at which the maneuver will occur, in seconds.
- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
value (double) – The new value.
- GET /space-center/node/(id)/time-to#
The time until the maneuver node will be encountered, in seconds.
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (double)
- GET /space-center/node/(id)/orbit#
The orbit that results from executing the maneuver node.
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (SpaceCenter.Orbit)
- POST /space-center/node/(id)/remove#
Removes the maneuver node.
- Parameters:
id – The identifier of the Node object.
- GET /space-center/node/(id)/reference-frame#
The reference frame that is fixed relative to the maneuver node’s burn.
The origin is at the position of the maneuver node.
The y-axis points in the direction of the burn.
The x-axis and z-axis point in arbitrary but fixed directions.
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (SpaceCenter.ReferenceFrame)
- GET /space-center/node/(id)/orbital-reference-frame#
The reference frame that is fixed relative to the maneuver node, and orientated with the orbital prograde/normal/radial directions of the original orbit at the maneuver node’s position.
The origin is at the position of the maneuver node.
The x-axis points in the orbital anti-radial direction of the original orbit, at the position of the maneuver node.
The y-axis points in the orbital prograde direction of the original orbit, at the position of the maneuver node.
The z-axis points in the orbital normal direction of the original orbit, at the position of the maneuver node.
- Parameters:
id – The identifier of the Node object.
- Response JSON Object:
value (SpaceCenter.ReferenceFrame)
- POST /space-center/node/(id)/position#
The position vector of the maneuver node in the given reference frame.
- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
reference_frame (SpaceCenter.ReferenceFrame) – The reference frame that the returned position vector is in.
- Response JSON Object:
value (tuple<double, double, double>) – The position as a vector.
- POST /space-center/node/(id)/rotation#
The rotation of the maneuver nodes burn.
- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
reference_frame (SpaceCenter.ReferenceFrame) – The reference frame that the returned rotation is in.
- Response JSON Object:
value (tuple<double, double, double, double>) – The rotation as a quaternion of the form
(x, y, z, w).
- POST /space-center/node/(id)/direction#
The direction of the maneuver nodes burn.
- Parameters:
id – The identifier of the Node object.
- Request JSON Object:
reference_frame (SpaceCenter.ReferenceFrame) – The reference frame that the returned direction is in.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.