# 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 Vector

Accelleration the vessel is undergoing. A combination of both the gravitational pull and the engine thrust.

VesselSensors:PRES
Access: Get only scalar

The current pressure of this ship.

VesselSensors:TEMP
Access: Get only scalar

The current temperature.

VesselSensors:GRAV
Access: Get only Vector

Magnitude and direction of gravity acceleration where the vessel currently is. Magnitude is expressed in “G“‘s (multiples of 9.802 m/s^2).

VesselSensors:LIGHT
Access: Get only scalar

The total amount of sun exposure that exists here - only readable if there are solar panels on the vessel.