PX4 Firmware
PX4 Autopilot Software http://px4.io
DfBebopRangeFinderWrapper Class Reference
Inheritance diagram for DfBebopRangeFinderWrapper:
Collaboration diagram for DfBebopRangeFinderWrapper:

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
 

Detailed Description

Definition at line 73 of file df_bebop_rangefinder_wrapper.cpp.

Constructor & Destructor Documentation

◆ DfBebopRangeFinderWrapper()

DfBebopRangeFinderWrapper::DfBebopRangeFinderWrapper ( )

Definition at line 105 of file df_bebop_rangefinder_wrapper.cpp.

Referenced by df_bebop_rangefinder_wrapper::start().

Here is the caller graph for this function:

◆ ~DfBebopRangeFinderWrapper()

DfBebopRangeFinderWrapper::~DfBebopRangeFinderWrapper ( )
default

Member Function Documentation

◆ _publish()

int DfBebopRangeFinderWrapper::_publish ( struct bebop_range &  data)
private

◆ start()

int DfBebopRangeFinderWrapper::start ( )

Start automatic measurement.

Returns
0 on success

Definition at line 112 of file df_bebop_rangefinder_wrapper.cpp.

References ToneAlarmInterface::init(), and start().

Referenced by df_bebop_rangefinder_wrapper::start().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ stop()

int DfBebopRangeFinderWrapper::stop ( )

Stop automatic measurement.

Returns
0 on success

Definition at line 132 of file df_bebop_rangefinder_wrapper.cpp.

References stop().

Referenced by df_bebop_rangefinder_wrapper::stop().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _orb_class_instance

int DfBebopRangeFinderWrapper::_orb_class_instance
private

Definition at line 99 of file df_bebop_rangefinder_wrapper.cpp.

Referenced by _publish().

◆ _range_topic

orb_advert_t DfBebopRangeFinderWrapper::_range_topic
private

Definition at line 97 of file df_bebop_rangefinder_wrapper.cpp.

Referenced by _publish().


The documentation for this class was generated from the following file: