5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-02-27 10:13:57 -04:00
ardupilot/Blimp/sensors.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
177 B
C++
Raw Normal View History

#include "Blimp.h"
// return barometric altitude in centimeters
void Blimp::read_barometer(void)
{
barometer.update();
baro_alt = barometer.get_altitude() * 100.0f;
}