Barometer

AirGen has a barometer as a default sensor for robots. The barometer primarily reports altitude and atmospheric pressure.

client = airgen.MultirotorClient()
client.getBarometerData()

<BarometerData> {   'altitude': 121.27217102050781,
    'pressure': 99876.0078125,
    'qnh': 1013.25,
    'time_stamp': 1721339963514664704}