APM:Libraries
|
#include <AP_Baro_KellerLD.h>
Public Member Functions | |
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 | |
AP_Baro_KellerLD (AP_Baro &baro, AP_HAL::OwnPtr< AP_HAL::Device > dev) | |
bool | _init () |
void | _timer () |
bool | _read () |
void | _update_and_wrap_accumulator (uint16_t pressure, uint16_t temperature, uint8_t max_count) |
Private Attributes | |
AP_HAL::OwnPtr< AP_HAL::Device > | _dev |
struct { | |
uint32_t sum_pressure | |
uint32_t sum_temperature | |
uint8_t num_samples | |
} | _accum |
uint8_t | _instance |
float | _p_min |
float | _p_max |
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 38 of file AP_Baro_KellerLD.h.
|
private |
Definition at line 42 of file AP_Baro_KellerLD.cpp.
Referenced by probe().
|
private |
Definition at line 64 of file AP_Baro_KellerLD.cpp.
Referenced by probe().
|
private |
Definition at line 165 of file AP_Baro_KellerLD.cpp.
Referenced by _timer().
|
private |
Definition at line 207 of file AP_Baro_KellerLD.cpp.
Referenced by _init().
|
private |
Definition at line 214 of file AP_Baro_KellerLD.cpp.
Referenced by _read().
|
static |
Definition at line 49 of file AP_Baro_KellerLD.cpp.
Referenced by AP_Baro::init().
|
virtual |
Implements AP_Baro_Backend.
Definition at line 228 of file AP_Baro_KellerLD.cpp.
struct { ... } AP_Baro_KellerLD::_accum |
Referenced by _init(), _update_and_wrap_accumulator(), and update().
|
private |
Definition at line 56 of file AP_Baro_KellerLD.h.
|
private |
Definition at line 66 of file AP_Baro_KellerLD.h.
|
private |
Definition at line 71 of file AP_Baro_KellerLD.h.
|
private |
Definition at line 70 of file AP_Baro_KellerLD.h.
uint8_t AP_Baro_KellerLD::num_samples |
Definition at line 63 of file AP_Baro_KellerLD.h.
Referenced by update().
uint32_t AP_Baro_KellerLD::sum_pressure |
Definition at line 61 of file AP_Baro_KellerLD.h.
Referenced by update().
uint32_t AP_Baro_KellerLD::sum_temperature |
Definition at line 62 of file AP_Baro_KellerLD.h.
Referenced by update().