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
¶ Members¶ Suffix Type Description ACC
Vector
Acceleration experienced by the Vessel
PRES
scalar Atmospheric Pressure outside this Vessel
TEMP
scalar Temperature outside this Vessel
GRAV
Vector
(g’s)Gravitational acceleration LIGHT
scalar Sun exposure on the solar panels of this Vessel
-
VesselSensors:
ACC
¶ Access: Get only Type: Vector
Accelleration the vessel is undergoing. A combination of both the gravitational pull and the engine thrust.