VesselSensors¶
When you ask a Vessel to tell you its Vessel:SENSORS
suffix, it returns an object of this type. It is a snapshot of sensor data taken at the moment the sensor reading was requested.
Note
These values are only enabled if you have the proper type of sensor on board the vessel. If you don’t have a thermometer, for example, then the :TEMP
suffix will always read zero.
If you store this in a variable and wait, the numbers are frozen in time and won’t change as the vessel’s condition changes.
- structure VesselSensors¶
¶ Suffix
Type
Description
Acceleration experienced by the
Vessel
Atmospheric Pressure outside this
Vessel
Temperature outside this
Vessel
Vector
(g’s)Gravitational acceleration
Sun exposure on the solar panels of this
Vessel
- VesselSensors:ACC¶
- Access
Get only
- Type
Accelleration the vessel is undergoing. A combination of both the gravitational pull and the engine thrust.
- VesselSensors:GRAV¶
- Access
Get only
- Type
Magnitude and direction of gravity acceleration where the vessel currently is. Magnitude is expressed in “G“‘s (multiples of 9.802 m/s^2).