Barometer Overview
The barometer measures the ambient air pressure around the camera in hectopascals (hPa). As the ambient air pressure decreases with the altitude, the barometer can be used to measure the altitude variations of the camera.
Only the ZED 2 (out of production) and the ZED 2i cameras are equipped with a barometer.
However, ambient air pressure is also affected by weather conditions. During sunny days the ambient pressure is higher than during rainy ones. This means that the barometer is affected by outdoor conditions and cannot be used to estimate the absolute altitude of the camera above sea level. Therefore, this sensor only provides relative altitude variations.
Output Data
The following information is accessible from the camera sensor stack:
Using the API
You can access the barometer data with:
Code Example
For a code example, check out the Getting Sensor Data tutorial.

