PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Functions | |
int | start () |
Attempt to start driver on all available I2C busses. More... | |
int | stop () |
Stop the driver. More... | |
int | info () |
Print a little info about the driver. More... | |
void | usage () |
Prints info about the driver argument usage. More... | |
Variables | |
DfBebopRangeFinderWrapper * | g_dev = nullptr |
int df_bebop_rangefinder_wrapper::info | ( | ) |
Print a little info about the driver.
Definition at line 243 of file df_bebop_rangefinder_wrapper.cpp.
Referenced by df_bebop_rangefinder_wrapper_main().
int df_bebop_rangefinder_wrapper::start | ( | ) |
Attempt to start driver on all available I2C busses.
This function will return as soon as the first sensor is detected on one of the available busses or if no sensors are detected.
Definition at line 189 of file df_bebop_rangefinder_wrapper.cpp.
References DfBebopRangeFinderWrapper::DfBebopRangeFinderWrapper(), and DfBebopRangeFinderWrapper::start().
Referenced by df_bebop_rangefinder_wrapper_main().
int df_bebop_rangefinder_wrapper::stop | ( | ) |
Stop the driver.
Stop the driver.
Definition at line 220 of file df_bebop_rangefinder_wrapper.cpp.
References g_dev, and DfBebopRangeFinderWrapper::stop().
Referenced by df_bebop_rangefinder_wrapper_main().
void df_bebop_rangefinder_wrapper::usage | ( | void | ) |
Prints info about the driver argument usage.
Prints info about the driver argument usage.
Definition at line 256 of file df_bebop_rangefinder_wrapper.cpp.
Referenced by df_bebop_rangefinder_wrapper_main().
DfBebopRangeFinderWrapper* df_bebop_rangefinder_wrapper::g_dev = nullptr |
Definition at line 182 of file df_bebop_rangefinder_wrapper.cpp.
Referenced by stop().