BarometerData Struct Reference

Structure containing data from the barometer sensor. More...

Attributes

bool available
 Whether the barometer sensor is available in your camera. More...
 
ulong timestamp
 Data acquisition timestamp in nanoseconds. More...
 
float pressure
 Ambient air pressure in hectopascal (hPa). More...
 
float relativeAltitude
 Relative altitude from first camera position (at sl.Camera.Open() time). More...
 

Detailed Description

Structure containing data from the barometer sensor.

Variables

◆ available

bool available

Whether the barometer sensor is available in your camera.

◆ timestamp

ulong timestamp

Data acquisition timestamp in nanoseconds.

◆ pressure

float pressure

Ambient air pressure in hectopascal (hPa).

◆ relativeAltitude

float relativeAltitude

Relative altitude from first camera position (at sl.Camera.Open() time).