70 if (isinf(press) || isnan(press)) {
86 if (d * 200.0
f > range) {
virtual void update_healthy_flag(uint8_t instance)
void _copy_to_frontend(uint8_t instance, float pressure, float temperature)
uint8_t get_filter_range() const
#define BARO_DATA_CHANGE_TIMEOUT_MS
virtual Semaphore * new_semaphore(void)
struct AP_Baro::sensor sensors[BARO_MAX_INSTANCES]
virtual bool take_nonblocking() WARN_IF_UNUSED=0
bool is_zero(const T fVal1)
bool pressure_ok(float press)
static constexpr float FILTER_KOEF
void backend_update(uint8_t instance)
AP_Baro_Backend(AP_Baro &baro)
std::enable_if< std::is_integral< typename std::common_type< Arithmetic1, Arithmetic2 >::type >::value,bool >::type is_equal(const Arithmetic1 v_1, const Arithmetic2 v_2)