APM:Libraries
|
#include <AP_Baro_SITL.h>
Classes | |
struct | readings_baro |
Public Member Functions | |
AP_Baro_SITL (AP_Baro &) | |
void | update () override |
![]() | |
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 |
Protected Member Functions | |
void | update_healthy_flag (uint8_t instance) override |
![]() | |
void | _copy_to_frontend (uint8_t instance, float pressure, float temperature) |
Private Member Functions | |
void | temperature_adjustment (float &p, float &T) |
void | _timer () |
Private Attributes | |
uint8_t | _instance |
SITL::SITL * | _sitl |
uint8_t | _store_index |
uint32_t | _last_store_time |
VectorN< readings_baro, _buffer_length > | _buffer |
bool | _has_sample |
uint32_t | _last_sample_time |
float | _recent_temp |
float | _recent_press |
Static Private Attributes | |
static const uint8_t | _buffer_length = 50 |
Additional Inherited Members | |
![]() | |
AP_Baro & | _frontend |
AP_HAL::Semaphore * | _sem |
float | _mean_pressure |
uint32_t | _error_count |
Definition at line 9 of file AP_Baro_SITL.h.
AP_Baro_SITL::AP_Baro_SITL | ( | AP_Baro & | baro | ) |
|
private |
Definition at line 45 of file AP_Baro_SITL.cpp.
Referenced by AP_Baro_SITL().
|
private |
Definition at line 28 of file AP_Baro_SITL.cpp.
Referenced by _timer().
|
overridevirtual |
Implements AP_Baro_Backend.
Definition at line 122 of file AP_Baro_SITL.cpp.
|
inlineoverrideprotectedvirtual |
Reimplemented from AP_Baro_Backend.
Definition at line 17 of file AP_Baro_SITL.h.
|
private |
Definition at line 31 of file AP_Baro_SITL.h.
Referenced by _timer().
|
staticprivate |
Definition at line 30 of file AP_Baro_SITL.h.
Referenced by _timer().
|
private |
Definition at line 37 of file AP_Baro_SITL.h.
|
private |
Definition at line 20 of file AP_Baro_SITL.h.
Referenced by AP_Baro_SITL(), and update().
|
private |
Definition at line 38 of file AP_Baro_SITL.h.
Referenced by _timer().
|
private |
Definition at line 29 of file AP_Baro_SITL.h.
Referenced by _timer().
|
private |
Definition at line 40 of file AP_Baro_SITL.h.
|
private |
Definition at line 39 of file AP_Baro_SITL.h.
|
private |
Definition at line 21 of file AP_Baro_SITL.h.
Referenced by _timer(), AP_Baro_SITL(), and temperature_adjustment().
|
private |
Definition at line 28 of file AP_Baro_SITL.h.
Referenced by _timer().