8da5275b03
The temperature readings is not subject to white noise so there's no point in averaging its reading. Moreover since for a normal 50Hz accumulate() / 10Hz update() it would read temperature only once per update(), it's pointless to keep averaging and introducing rounding error. The temperature doesn't need to be checked as frequent as pressure, too. The datasheet even suggests on section 3.3, page 10 to enable standard mode and read the temperature at 1Hz. Here we reduce it to 2Hz (considering the accumulate() function being called at 50Hz). |
||
---|---|---|
.. | ||
examples/BARO_generic | ||
AP_Baro_Backend.cpp | ||
AP_Baro_Backend.h | ||
AP_Baro_BMP085.cpp | ||
AP_Baro_BMP085.h | ||
AP_Baro_HIL.cpp | ||
AP_Baro_HIL.h | ||
AP_Baro_MS5611.cpp | ||
AP_Baro_MS5611.h | ||
AP_Baro_PX4.cpp | ||
AP_Baro_PX4.h | ||
AP_Baro_qflight.cpp | ||
AP_Baro_qflight.h | ||
AP_Baro_QURT.cpp | ||
AP_Baro_QURT.h | ||
AP_Baro.cpp | ||
AP_Baro.h |