|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Local functions in support of the shell command. More...
Functions | |
| int | start (int argc, char *argv[]) |
| Start the driver. 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 | |
| PX4FLOW * | g_dev = nullptr |
| bool | start_in_progress = false |
| const int | START_RETRY_COUNT = 5 |
| const int | START_RETRY_TIMEOUT = 1000 |
Local functions in support of the shell command.
| int px4flow::info | ( | ) |
Print a little info about the driver.
Definition at line 608 of file px4flow.cpp.
References PX4FLOW::print_info().
Referenced by px4flow_main().
| int px4flow::start | ( | int | argc, |
| char * | argv[] | ||
| ) |
Start the driver.
Definition at line 432 of file px4flow.cpp.
References g_dev, I2C_FLOW_ADDRESS_DEFAULT, I2C_FLOW_ADDRESS_MAX, PX4FLOW::init(), OK, PX4FLOW::PX4FLOW(), PX4FLOW_CONVERSION_INTERVAL_DEFAULT, PX4FLOW_CONVERSION_INTERVAL_MAX, and usage().
Referenced by px4flow_main().
| int px4flow::stop | ( | ) |
Stop the driver.
Stop the driver.
Definition at line 587 of file px4flow.cpp.
References g_dev.
Referenced by px4flow_main().
| void px4flow::usage | ( | void | ) |
Prints info about the driver argument usage.
Prints info about the driver argument usage.
Definition at line 620 of file px4flow.cpp.
Referenced by px4flow_main().
| PX4FLOW* px4flow::g_dev = nullptr |
Definition at line 417 of file px4flow.cpp.
| bool px4flow::start_in_progress = false |
Definition at line 418 of file px4flow.cpp.
| const int px4flow::START_RETRY_COUNT = 5 |
Definition at line 420 of file px4flow.cpp.
| const int px4flow::START_RETRY_TIMEOUT = 1000 |
Definition at line 421 of file px4flow.cpp.