Flight#
Flight
Used to get flight telemetry for a vessel, by calling POST /space-center/vessel/(id)/flight.
All of the information returned by this class is given in the reference frame
passed to that method.
Obtained by calling POST /space-center/vessel/(id)/flight.
Note
To get orbital information, such as the apoapsis or inclination, see Orbit.
A Flight object is passed and returned as its identifier, a number. A path that acts on
an object takes it as (id).
- GET /space-center/flight/(id)/g-force#
The current G force acting on the vessel in \(\mathrm{g}\).
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/mean-altitude#
The altitude above sea level, in meters. Measured from the center of mass of the vessel.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/surface-altitude#
The altitude above the surface of the body or sea level, whichever is closer, in meters. Measured from the center of mass of the vessel.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/bedrock-altitude#
The altitude above the surface of the body, in meters. When over water, this is the altitude above the sea floor. Measured from the center of mass of the vessel.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/elevation#
The elevation of the terrain under the vessel, in meters. This is the height of the terrain above sea level, and is negative when the vessel is over the sea.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/latitude#
The latitude of the vessel for the body being orbited, in degrees.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/longitude#
The longitude of the vessel for the body being orbited, in degrees.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/surface-normal#
The normal to the surface under the vessel, in the reference frame ReferenceFrame. This describes the slope of the terrain, and points straight up when the vessel is over water.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The normal as a unit vector.
- GET /space-center/flight/(id)/velocity#
The velocity of the vessel, in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The velocity as a vector. The vector points in the direction of travel, and its magnitude is the speed of the vessel in \(\mathrm{m/s}\).
- GET /space-center/flight/(id)/speed#
The speed of the vessel in \(\mathrm{m/s}\), in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/horizontal-speed#
The horizontal speed of the vessel in \(\mathrm{m/s}\), in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/vertical-speed#
The vertical speed of the vessel in \(\mathrm{m/s}\), in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/acceleration#
The acceleration of the vessel, in the reference frame ReferenceFrame. This is the total acceleration, including the acceleration due to gravity, and is the time derivative of
GET /space-center/flight/(id)/velocity.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The acceleration as a vector. The vector points in the direction of the acceleration, and its magnitude is the acceleration of the vessel in \(\mathrm{m/s^{2}}\).
- GET /space-center/flight/(id)/center-of-mass#
The position of the center of mass of the vessel, in the reference frame ReferenceFrame
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The position as a vector.
- GET /space-center/flight/(id)/rotation#
The rotation of the vessel, in the reference frame ReferenceFrame
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double, double>) – The rotation as a quaternion of the form
(x, y, z, w).
- GET /space-center/flight/(id)/direction#
The direction that the vessel is pointing in, in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/pitch#
The pitch of the vessel relative to the horizon, in degrees. A value between -90° and +90°.
Note
An absolute Euler angle, ill-conditioned when the vessel points near vertical (a pitch near -90° or +90°), where heading and roll become ambiguous. For an always-defined attitude use
GET /space-center/flight/(id)/rotationorGET /space-center/flight/(id)/direction.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/heading#
The heading of the vessel (its angle relative to north), in degrees. A value between 0° and 360°.
Note
An absolute Euler angle, undefined when the vessel points near vertical (a pitch near -90° or +90°). For an always-defined attitude use
GET /space-center/flight/(id)/rotationorGET /space-center/flight/(id)/direction.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/roll#
The roll of the vessel relative to the horizon, in degrees. A value between -180° and +180°.
Note
An absolute Euler angle, ill-conditioned when the vessel points near vertical (a pitch near -90° or +90°), where the vertical-plane reference vanishes. For an always-defined attitude use
GET /space-center/flight/(id)/rotation; for a well-defined roll use the auto-pilot’sTargetRoll/RollErroragainst a chosen up reference.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/prograde#
The prograde direction of the vessels orbit, in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/retrograde#
The retrograde direction of the vessels orbit, in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/surface-prograde#
The direction of the vessels surface velocity, in the reference frame ReferenceFrame. This is the prograde direction as shown on the navball when in surface mode.
Note
Singular when surface speed is approximately zero.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/surface-retrograde#
The direction opposite to the vessels surface velocity, in the reference frame ReferenceFrame. This is the retrograde direction as shown on the navball when in surface mode.
Note
Singular when surface speed is approximately zero.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/normal#
The direction normal to the vessels orbit, in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/anti-normal#
The direction opposite to the normal of the vessels orbit, in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/radial#
The radial direction of the vessels orbit, in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/anti-radial#
The direction opposite to the radial direction of the vessels orbit, in the reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – The direction as a unit vector.
- GET /space-center/flight/(id)/atmosphere-density#
The current density of the atmosphere around the vessel, in \(\mathrm{kg/m^{3}}\).
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/dynamic-pressure#
The dynamic pressure acting on the vessel, in Pascals. This is a measure of the strength of the aerodynamic forces. It is equal to \(\frac{1}{2} \rho v^{2}\), where \(\rho\) is the air density and \(v\) the velocity. It is commonly denoted \(Q\).
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/static-pressure#
The static pressure acting on the vessel, in Pascals.
Note
Below the waterline this includes the pressure of the water above the vessel’s center of mass.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/static-pressure-at-msl#
The static atmospheric pressure at mean sea level, in Pascals.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/displacement#
The volume of water the vessel displaces when fully submerged, in \(\mathrm{m^{3}}\).
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/displaced-volume#
The volume of water the vessel is displacing, in \(\mathrm{m^{3}}\).
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/submerged-portion#
The fraction of the vessel below the waterline, between 0 and 1. This is
GET /space-center/flight/(id)/displaced-volumeoverGET /space-center/flight/(id)/displacement.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/center-of-buoyancy#
The point the total buoyant force on the vessel acts through, in reference frame ReferenceFrame. Returns
nullif no part of the vessel is in the water.Note
A hull at rest carries this on the same vertical line as
GET /space-center/flight/(id)/center-of-mass. A horizontal offset between the two turns the weight and the buoyancy into a couple that rolls or pitches the vessel.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>?) – The position as a vector.
- GET /space-center/flight/(id)/buoyant-force#
The total buoyant force acting on the vessel, in reference frame ReferenceFrame.
Note
A vessel floating at rest carries a buoyant force equal to its weight.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the force acts, with its magnitude equal to the strength of the force in Newtons.
- GET /space-center/flight/(id)/buoyant-acceleration#
The acceleration of the vessel due to the buoyant force acting on it (
GET /space-center/flight/(id)/buoyant-forcedivided by the vessel’s mass), in reference frame ReferenceFrame.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the vessel is accelerated, with its magnitude equal to the acceleration in \(\mathrm{m/s^{2}}\).
- GET /space-center/flight/(id)/buoyant-torque#
The torque the buoyant force exerts on the vessel about its center of mass, in reference frame ReferenceFrame.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing along the axis of the torque, with its magnitude equal to the strength of the torque in \(\mathrm{N \cdot m}\).
- GET /space-center/flight/(id)/fully-submerged-center-of-buoyancy#
The point the buoyant force acts through with the vessel fully submerged, in reference frame ReferenceFrame. Returns
nullif no part of the vessel displaces any water.Note
The point is fixed relative to the hull.
GET /space-center/flight/(id)/center-of-buoyancymoves as the vessel rides the waves.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>?) – The position as a vector.
- POST /space-center/flight/(id)/buoyant-force-at#
The buoyant force on the vessel when fully submerged in a fluid of the given density, in Newtons.
- Parameters:
id – The identifier of the Flight object.
- Request JSON Object:
density (double) – The density of the fluid, in \(\mathrm{kg/m^{3}}\).
gravity (double) – The acceleration due to gravity, in \(\mathrm{m/s^{2}}\).
- Response JSON Object:
value (double)
- POST /space-center/flight/(id)/buoyant-torque-at#
The torque the buoyant force exerts about the vessel’s center of mass when fully submerged in a fluid of the given density, in reference frame ReferenceFrame. Gravity acts towards the center of the body.
- Parameters:
id – The identifier of the Flight object.
- Request JSON Object:
density (double) – The density of the fluid, in \(\mathrm{kg/m^{3}}\).
gravity (double) – The acceleration due to gravity, in \(\mathrm{m/s^{2}}\).
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing along the axis of the torque, with its magnitude equal to the strength of the torque in \(\mathrm{N \cdot m}\).
- GET /space-center/flight/(id)/depth#
The depth of the center of mass of the vessel below the waterline, in meters. Negative above the waterline.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (double)
- GET /space-center/flight/(id)/submerged-dynamic-pressure#
The dynamic pressure of the water acting on the vessel, in Pascals. Returns zero if no part of the vessel is below the waterline.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/aerodynamic-force#
The total aerodynamic forces acting on the vessel, in reference frame ReferenceFrame.
Note
This is the force the aerodynamics model actually applied to the vessel on the last physics frame, summed over its parts, so it points where the air pushes the vessel whatever the vessel’s orientation. It equals
GET /space-center/flight/(id)/liftplusGET /space-center/flight/(id)/side-forceplusGET /space-center/flight/(id)/drag.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the force acts, with its magnitude equal to the strength of the force in Newtons.
- GET /space-center/flight/(id)/aerodynamic-torque#
The net aerodynamic torque currently acting on the vessel about its center of mass, in reference frame ReferenceFrame. The magnitude is in \(\mathrm{N \cdot m}\).
Note
This is the live counterpart to
GET /space-center/flight/(id)/aerodynamic-force: it is the torque the aerodynamics model applied on the current physics frame, taken about the center of mass, rather than one re-simulated for hypothetical conditions the wayPOST /space-center/flight/(id)/simulate-aerodynamic-torque-atdoes. It is intended for validating the simulator against the live game state.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing along the axis of the torque, with its magnitude equal to the strength of the torque in \(\mathrm{N \cdot m}\).
- POST /space-center/flight/(id)/simulate-aerodynamic-force-at#
Simulate and return the total aerodynamic forces acting on the vessel, if it were traveling with the given velocity, at the given position and orientation, in the atmosphere of the given celestial body.
Note
The position, velocity and rotation arguments, and the returned force, are all expressed in reference frame ReferenceFrame. The result is the force the vessel would experience if it were placed at that position and orientation with the air flowing past it at that velocity; it is the force at the requested orientation, not the force in the vessel’s current orientation. Atmospheric temperature and density are evaluated at the current universal time.
- Parameters:
id – The identifier of the Flight object.
- Request JSON Object:
body (SpaceCenter.CelestialBody) – The celestial body whose atmosphere the forces are simulated in.
position (tuple<double, double, double>) – The position of the vessel, in reference frame ReferenceFrame.
velocity (tuple<double, double, double>) – The velocity of the vessel, in reference frame ReferenceFrame.
rotation (tuple<double, double, double, double>) – The orientation of the vessel, in reference frame ReferenceFrame, in the same form as
POST /space-center/vessel/(id)/rotation. The angle of attack and sideslip follow from this orientation relative to the velocity; the roll component sets the direction of any aerodynamic lift. Pass the vessel’s current rotation to evaluate the force at its current orientation.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the force acts, with its magnitude equal to the strength of the force in Newtons, in reference frame ReferenceFrame.
- POST /space-center/flight/(id)/simulate-aerodynamic-torque-at#
Simulate and return the total aerodynamic torque acting on the vessel about its center of mass, if it were traveling with the given velocity, at the given position, orientation and angular velocity, in the atmosphere of the given celestial body.
Note
The position, velocity, rotation and angular velocity arguments, and the returned torque, are all expressed in reference frame ReferenceFrame. When Ferram Aerospace Research is installed the angular velocity argument is ignored. Atmospheric temperature and density are evaluated at the current universal time.
This is the ideal rigid-body aerodynamic torque, summed from the per-part forces about the center of mass. A vessel may not visibly rotate by the full amount when a large aerodynamic force acts on a small part far from the center of mass, because the game applies each part’s force to that part and propagates it through the joints rather than to the vessel as a rigid body.
- Parameters:
id – The identifier of the Flight object.
- Request JSON Object:
body (SpaceCenter.CelestialBody) – The celestial body whose atmosphere the torque is simulated in.
position (tuple<double, double, double>) – The position of the vessel, in reference frame ReferenceFrame.
velocity (tuple<double, double, double>) – The velocity of the vessel, in reference frame ReferenceFrame.
rotation (tuple<double, double, double, double>) – The orientation of the vessel, in reference frame ReferenceFrame, in the same form as
POST /space-center/vessel/(id)/rotation. Pass the vessel’s current rotation to evaluate the torque at its current orientation.angular_velocity (tuple<double, double, double>) – The angular velocity of the vessel, in reference frame ReferenceFrame. This adds the solid-body rotation term to each part’s local airflow and the per-part rigid-body angular drag the game applies, together giving the aerodynamic damping torque. Pass a zero vector to evaluate the static torque.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing along the axis of the torque, with its magnitude equal to the strength of the torque in \(\mathrm{N \cdot m}\), in reference frame ReferenceFrame.
- POST /space-center/flight/(id)/simulate-aerodynamic-wrench-at#
Simulate and return the total aerodynamic force and torque acting on the vessel, if its center of mass were traveling with the given velocity, at the given position, orientation and angular velocity, in the atmosphere of the given celestial body.
Note
The position and velocity describe the hypothetical center-of-mass state. The position, velocity, rotation and angular velocity arguments, and both returned vectors, are expressed in reference frame ReferenceFrame. For future-state prediction,
GET /space-center/celestial-body/(id)/non-rotating-reference-frameis recommended so that the spatial state has unambiguous inertial semantics.This is an instantaneous rigid-body result based on the vessel’s current parts, drag cubes and control-surface state. When Ferram Aerospace Research is installed the angular velocity and ut arguments are ignored.
- Parameters:
id – The identifier of the Flight object.
- Request JSON Object:
body (SpaceCenter.CelestialBody) – The celestial body whose atmosphere the wrench is simulated in.
position (tuple<double, double, double>) – The position of the vessel’s center of mass, in reference frame ReferenceFrame.
velocity (tuple<double, double, double>) – The velocity of the vessel’s center of mass, in reference frame ReferenceFrame.
rotation (tuple<double, double, double, double>) – The orientation of the vessel, in reference frame ReferenceFrame, in the same form as
POST /space-center/vessel/(id)/rotation. Pass the vessel’s current rotation to evaluate the wrench at its current orientation.angular_velocity (tuple<double, double, double>) – The angular velocity of the vessel, in reference frame ReferenceFrame. This adds the solid-body rotation term to each part’s local airflow and the per-part rigid-body angular drag the game applies, together giving the aerodynamic damping force and torque. Pass a zero vector to evaluate the static wrench relative to the reference frame.
ut (double) – The universal time used for the atmospheric ephemeris. It selects the body/Sun geometry used for temperature and density, but does not change or propagate ReferenceFrame or any of the state arguments.
- Response JSON Object:
value (SpaceCenter.Wrench) – The aerodynamic force, and the aerodynamic torque about the vessel’s center of mass. Both are vectors in reference frame ReferenceFrame.
- GET /space-center/flight/(id)/lift#
The aerodynamic lift currently acting on the vessel.
Note
The part of
GET /space-center/flight/(id)/aerodynamic-forcethat acts across the air stream and towards the top of the vessel: perpendicular to the air stream, in the plane the vessel’s nose and its top sit in. A vessel flying with sideslip is also pushed out of that plane, and that part of the force isGET /space-center/flight/(id)/side-force. Zero for a vessel flying exactly sideways, which has no such plane to speak of.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the force acts, with its magnitude equal to the strength of the force in Newtons.
- GET /space-center/flight/(id)/side-force#
The aerodynamic side force currently acting on the vessel.
Note
The part of
GET /space-center/flight/(id)/aerodynamic-forcethat acts across the air stream and out of the vessel’s side, which is what the air does to a vessel flying with sideslip. It is perpendicular to bothGET /space-center/flight/(id)/liftandGET /space-center/flight/(id)/drag, and the three of them sum toGET /space-center/flight/(id)/aerodynamic-force.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the force acts, with its magnitude equal to the strength of the force in Newtons.
- GET /space-center/flight/(id)/drag#
The aerodynamic drag currently acting on the vessel.
Note
The part of
GET /space-center/flight/(id)/aerodynamic-forcealong the air stream, opposing the vessel’s motion through the air.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction of the force, with its magnitude equal to the strength of the force in Newtons.
- GET /space-center/flight/(id)/aerodynamic-acceleration#
The acceleration of the vessel due to the total aerodynamic forces acting on it (
GET /space-center/flight/(id)/aerodynamic-forcedivided by the vessel’s mass), in reference frame ReferenceFrame.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the vessel is accelerated, with its magnitude equal to the acceleration in \(\mathrm{m/s^{2}}\).
- GET /space-center/flight/(id)/lift-acceleration#
The acceleration of the vessel due to
GET /space-center/flight/(id)/lift(the aerodynamic lift divided by the vessel’s mass), in reference frame ReferenceFrame.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the vessel is accelerated, with its magnitude equal to the acceleration in \(\mathrm{m/s^{2}}\).
- GET /space-center/flight/(id)/drag-acceleration#
The acceleration of the vessel due to
GET /space-center/flight/(id)/drag(the aerodynamic drag divided by the vessel’s mass), in reference frame ReferenceFrame.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (tuple<double, double, double>) – A vector pointing in the direction that the vessel is accelerated, with its magnitude equal to the acceleration in \(\mathrm{m/s^{2}}\).
- GET /space-center/flight/(id)/speed-of-sound#
The speed of sound, in the atmosphere around the vessel, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/mach#
The speed of the vessel, in multiples of the speed of sound.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/reynolds-number#
The vessels Reynolds number.
Note
Requires Ferram Aerospace Research.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/true-air-speed#
The true air speed of the vessel, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/equivalent-air-speed#
The equivalent air speed of the vessel, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/terminal-velocity#
An estimate of the current terminal velocity of the vessel, in \(\mathrm{m/s}\). This is the speed at which the drag forces cancel out the force of gravity.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/angle-of-attack#
The pitch angle between the orientation of the vessel and its velocity vector, in degrees.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/sideslip-angle#
The yaw angle between the orientation of the vessel and its velocity vector, in degrees.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/total-air-temperature#
The total air temperature of the atmosphere around the vessel, in Kelvin. This includes the
GET /space-center/flight/(id)/static-air-temperatureand the vessel’s kinetic energy.- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/static-air-temperature#
The static (ambient) temperature of the atmosphere around the vessel, in Kelvin.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/stall-fraction#
The current amount of stall, between 0 and 1. A value greater than 0.005 indicates a minor stall and a value greater than 0.5 indicates a large-scale stall.
Note
Requires Ferram Aerospace Research.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/drag-coefficient#
The coefficient of drag. This is the amount of drag produced by the vessel. It depends on air speed, air density and wing area.
Note
Requires Ferram Aerospace Research.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/lift-coefficient#
The coefficient of lift. This is the amount of lift produced by the vessel, and depends on air speed, air density and wing area.
Note
Requires Ferram Aerospace Research.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/ballistic-coefficient#
-
Note
Requires Ferram Aerospace Research.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
- GET /space-center/flight/(id)/thrust-specific-fuel-consumption#
The thrust specific fuel consumption for the jet engines on the vessel. This is a measure of the efficiency of the engines, with a lower value indicating a more efficient vessel. This value is the number of Newtons of fuel that are burned, per hour, to produce one newton of thrust.
Note
Requires Ferram Aerospace Research.
- Parameters:
id – The identifier of the Flight object.
- Response JSON Object:
value (float)
Wrench
A force and a torque that act together.
Passed and returned as an object with these fields:
force(tuple<double, double, double>)The force, in Newtons.
torque(tuple<double, double, double>)The torque, in \(\mathrm{N \cdot m}\).