PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Public Member Functions | |
DfBebopRangeFinderWrapper () | |
~DfBebopRangeFinderWrapper ()=default | |
int | start () |
Start automatic measurement. More... | |
int | stop () |
Stop automatic measurement. More... | |
Private Member Functions | |
int | _publish (struct bebop_range &data) |
Private Attributes | |
orb_advert_t | _range_topic |
int | _orb_class_instance |
Definition at line 73 of file df_bebop_rangefinder_wrapper.cpp.
DfBebopRangeFinderWrapper::DfBebopRangeFinderWrapper | ( | ) |
Definition at line 105 of file df_bebop_rangefinder_wrapper.cpp.
Referenced by df_bebop_rangefinder_wrapper::start().
|
default |
|
private |
Definition at line 145 of file df_bebop_rangefinder_wrapper.cpp.
References _orb_class_instance, _range_topic, distance_sensor_s::current_distance, hrt_absolute_time(), distance_sensor_s::id, distance_sensor_s::max_distance, distance_sensor_s::min_distance, orb_advertise_multi(), ORB_ID, ORB_PRIO_DEFAULT, orb_publish(), distance_sensor_s::orientation, distance_sensor_s::signal_quality, distance_sensor_s::timestamp, distance_sensor_s::type, and distance_sensor_s::variance.
int DfBebopRangeFinderWrapper::start | ( | ) |
Start automatic measurement.
Definition at line 112 of file df_bebop_rangefinder_wrapper.cpp.
References ToneAlarmInterface::init(), and start().
Referenced by df_bebop_rangefinder_wrapper::start().
int DfBebopRangeFinderWrapper::stop | ( | ) |
Stop automatic measurement.
Definition at line 132 of file df_bebop_rangefinder_wrapper.cpp.
References stop().
Referenced by df_bebop_rangefinder_wrapper::stop().
|
private |
Definition at line 99 of file df_bebop_rangefinder_wrapper.cpp.
Referenced by _publish().
|
private |
Definition at line 97 of file df_bebop_rangefinder_wrapper.cpp.
Referenced by _publish().