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 ACCVectorAcceleration experienced by the VesselPRESscalar Atmospheric Pressure outside this VesselTEMPscalar Temperature outside this VesselGRAVVector(g’s)Gravitational acceleration LIGHTscalar Sun exposure on the solar panels of this Vessel
-
VesselSensors:
ACC¶ Access: Get only Type: VectorAccelleration the vessel is undergoing. A combination of both the gravitational pull and the engine thrust.