mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2025-12-11 10:40:34 -06:00
10 lines
177 B
C++
10 lines
177 B
C++
#include "Blimp.h"
|
|
|
|
// return barometric altitude in centimeters
|
|
void Blimp::read_barometer(void)
|
|
{
|
|
barometer.update();
|
|
|
|
baro_alt = barometer.get_altitude() * 100.0f;
|
|
}
|