APM:Libraries
|
#include <AP_Baro_FBM320.h>
Classes | |
struct | fbm320_calibration |
Public Member Functions | |
AP_Baro_FBM320 (AP_Baro &baro, AP_HAL::OwnPtr< AP_HAL::Device > dev) | |
void | update () |
![]() | |
AP_Baro_Backend (AP_Baro &baro) | |
virtual | ~AP_Baro_Backend (void) |
virtual void | accumulate (void) |
virtual void | handle_baro_msg (float pressure, float temperature) |
void | backend_update (uint8_t instance) |
bool | pressure_ok (float press) |
uint32_t | get_error_count () const |
Static Public Member Functions | |
static AP_Baro_Backend * | probe (AP_Baro &baro, AP_HAL::OwnPtr< AP_HAL::Device > dev) |
Private Member Functions | |
bool | init (void) |
bool | read_calibration (void) |
void | timer (void) |
void | calculate_PT (int32_t UT, int32_t UP, int32_t &pressure, int32_t &temperature) |
Private Attributes | |
AP_HAL::OwnPtr< AP_HAL::Device > | dev |
uint8_t | instance |
uint32_t | count |
float | pressure_sum |
float | temperature_sum |
uint8_t | step |
int32_t | value_T |
struct AP_Baro_FBM320::fbm320_calibration | calibration |
Additional Inherited Members | |
![]() | |
void | _copy_to_frontend (uint8_t instance, float pressure, float temperature) |
virtual void | update_healthy_flag (uint8_t instance) |
![]() | |
AP_Baro & | _frontend |
AP_HAL::Semaphore * | _sem |
float | _mean_pressure |
uint32_t | _error_count |
Definition at line 9 of file AP_Baro_FBM320.h.
AP_Baro_FBM320::AP_Baro_FBM320 | ( | AP_Baro & | baro, |
AP_HAL::OwnPtr< AP_HAL::Device > | dev | ||
) |
Definition at line 35 of file AP_Baro_FBM320.cpp.
Referenced by probe().
|
private |
Definition at line 138 of file AP_Baro_FBM320.cpp.
Referenced by timer().
|
private |
Definition at line 101 of file AP_Baro_FBM320.cpp.
Referenced by probe().
|
static |
Definition at line 41 of file AP_Baro_FBM320.cpp.
Referenced by AP_Baro::init().
|
private |
Definition at line 59 of file AP_Baro_FBM320.cpp.
Referenced by init().
|
private |
Definition at line 176 of file AP_Baro_FBM320.cpp.
Referenced by init().
|
virtual |
Implements AP_Baro_Backend.
Definition at line 208 of file AP_Baro_FBM320.cpp.
|
private |
Referenced by calculate_PT(), and read_calibration().
|
private |
Definition at line 28 of file AP_Baro_FBM320.h.
|
private |
Definition at line 24 of file AP_Baro_FBM320.h.
Referenced by init(), read_calibration(), and timer().
|
private |
Definition at line 26 of file AP_Baro_FBM320.h.
|
private |
Definition at line 29 of file AP_Baro_FBM320.h.
|
private |
Definition at line 31 of file AP_Baro_FBM320.h.
Referenced by timer().
|
private |
Definition at line 30 of file AP_Baro_FBM320.h.
|
private |
Definition at line 33 of file AP_Baro_FBM320.h.
Referenced by timer().