APM:Libraries
|
#include <AP_Airspeed_analog.h>
Public Member Functions | |
AP_Airspeed_Analog (AP_Airspeed &frontend, uint8_t _instance) | |
bool | init (void) override |
bool | get_differential_pressure (float &pressure) override |
bool | get_temperature (float &temperature) override |
Public Member Functions inherited from AP_Airspeed_Backend | |
AP_Airspeed_Backend (AP_Airspeed &frontend, uint8_t instance) | |
virtual | ~AP_Airspeed_Backend () |
Private Attributes | |
AP_HAL::AnalogSource * | _source |
Additional Inherited Members | |
Protected Member Functions inherited from AP_Airspeed_Backend | |
int8_t | get_pin (void) const |
float | get_psi_range (void) const |
uint8_t | get_bus (void) const |
AP_Airspeed::pitot_tube_order | get_tube_order (void) const |
float | get_airspeed_ratio (void) const |
void | set_use_zero_offset (void) |
void | set_skip_cal (void) |
void | set_offset (float ofs) |
Protected Attributes inherited from AP_Airspeed_Backend | |
AP_HAL::Semaphore * | sem |
Definition at line 8 of file AP_Airspeed_analog.h.
AP_Airspeed_Analog::AP_Airspeed_Analog | ( | AP_Airspeed & | frontend, |
uint8_t | _instance | ||
) |
|
overridevirtual |
Implements AP_Airspeed_Backend.
Definition at line 42 of file AP_Airspeed_analog.cpp.
|
inlineoverridevirtual |
Implements AP_Airspeed_Backend.
Definition at line 20 of file AP_Airspeed_analog.h.
|
overridevirtual |
Implements AP_Airspeed_Backend.
Definition at line 36 of file AP_Airspeed_analog.cpp.
|
private |
Definition at line 23 of file AP_Airspeed_analog.h.
Referenced by AP_Airspeed_Analog(), get_differential_pressure(), and init().