APM:Libraries
|
#include <AP_Baro_UAVCAN.h>
Public Member Functions | |
AP_Baro_UAVCAN (AP_Baro &) | |
~AP_Baro_UAVCAN () override | |
void | update () override |
virtual void | handle_baro_msg (float pressure, float temperature) override |
bool | register_uavcan_baro (uint8_t mgr, uint8_t node) |
Public Member Functions inherited from AP_Baro_Backend | |
AP_Baro_Backend (AP_Baro &baro) | |
virtual | ~AP_Baro_Backend (void) |
virtual void | accumulate (void) |
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) |
Private Attributes | |
uint8_t | _instance |
float | _pressure |
float | _temperature |
uint64_t | _last_timestamp |
uint8_t | _manager |
bool | _initialized |
AP_HAL::Semaphore * | _sem_baro |
Additional Inherited Members | |
Protected Member Functions inherited from AP_Baro_Backend | |
void | _copy_to_frontend (uint8_t instance, float pressure, float temperature) |
virtual void | update_healthy_flag (uint8_t instance) |
Protected Attributes inherited from AP_Baro_Backend | |
AP_Baro & | _frontend |
AP_HAL::Semaphore * | _sem |
float | _mean_pressure |
uint32_t | _error_count |
Definition at line 6 of file AP_Baro_UAVCAN.h.
AP_Baro_UAVCAN::AP_Baro_UAVCAN | ( | AP_Baro & | ) |
|
override |
|
overridevirtual |
Reimplemented from AP_Baro_Backend.
|
static |
bool AP_Baro_UAVCAN::register_uavcan_baro | ( | uint8_t | mgr, |
uint8_t | node | ||
) |
|
overridevirtual |
Implements AP_Baro_Backend.
|
private |
Definition at line 27 of file AP_Baro_UAVCAN.h.
|
private |
Definition at line 21 of file AP_Baro_UAVCAN.h.
|
private |
Definition at line 24 of file AP_Baro_UAVCAN.h.
|
private |
Definition at line 25 of file AP_Baro_UAVCAN.h.
|
private |
Definition at line 22 of file AP_Baro_UAVCAN.h.
|
private |
Definition at line 29 of file AP_Baro_UAVCAN.h.
|
private |
Definition at line 23 of file AP_Baro_UAVCAN.h.