PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Public Member Functions | |
DfBmp280Wrapper () | |
~DfBmp280Wrapper () | |
int | start () |
Start automatic measurement. More... | |
int | stop () |
Stop automatic measurement. More... | |
Public Member Functions inherited from BMP280 | |
BMP280 (bmp280::IBMP280 *interface) | |
virtual | ~BMP280 () |
int | init () |
void | print_info () |
Private Member Functions | |
int | _publish (struct baro_sensor_data &data) |
Private Attributes | |
orb_advert_t | _baro_topic |
int | _baro_orb_class_instance |
perf_counter_t | _baro_sample_perf |
Definition at line 72 of file df_bmp280_wrapper.cpp.
DfBmp280Wrapper::DfBmp280Wrapper | ( | ) |
Definition at line 104 of file df_bmp280_wrapper.cpp.
Referenced by df_bmp280_wrapper::start().
DfBmp280Wrapper::~DfBmp280Wrapper | ( | ) |
Definition at line 112 of file df_bmp280_wrapper.cpp.
References _baro_sample_perf, and perf_free().
|
private |
Definition at line 154 of file df_bmp280_wrapper.cpp.
References _baro_orb_class_instance, _baro_sample_perf, _baro_topic, sensor_baro_s::error_count, hrt_absolute_time(), orb_advertise_multi(), ORB_ID, ORB_PRIO_DEFAULT, orb_publish(), perf_begin(), perf_end(), sensor_baro_s::pressure, sensor_baro_s::temperature, and sensor_baro_s::timestamp.
int DfBmp280Wrapper::start | ( | ) |
Start automatic measurement.
Definition at line 117 of file df_bmp280_wrapper.cpp.
References BMP280::init(), and start().
Referenced by df_bmp280_wrapper::start().
int DfBmp280Wrapper::stop | ( | ) |
Stop automatic measurement.
Definition at line 141 of file df_bmp280_wrapper.cpp.
References stop().
Referenced by df_bmp280_wrapper::stop().
|
private |
Definition at line 98 of file df_bmp280_wrapper.cpp.
Referenced by _publish().
|
private |
Definition at line 100 of file df_bmp280_wrapper.cpp.
Referenced by _publish(), and ~DfBmp280Wrapper().
|
private |
Definition at line 96 of file df_bmp280_wrapper.cpp.
Referenced by _publish().