PX4 Firmware
PX4 Autopilot Software http://px4.io
tfmini_main.cpp File Reference
#include "TFMINI.hpp"
#include <px4_platform_common/getopt.h>
Include dependency graph for tfmini_main.cpp:

Go to the source code of this file.

Namespaces

 tfmini
 Local functions in support of the shell command.
 

Functions

int tfmini::start (const char *port, uint8_t rotation)
 
int tfmini::status ()
 
int tfmini::stop ()
 Stop the driver. More...
 
int tfmini::usage ()
 Prints info about the driver argument usage. More...
 
__EXPORT int tfmini_main (int argc, char *argv[])
 

Variables

TFMINItfmini::g_dev {nullptr}
 

Function Documentation

◆ tfmini_main()

__EXPORT int tfmini_main ( int  argc,
char *  argv[] 
)

Definition at line 142 of file tfmini_main.cpp.

References tfmini::start(), tfmini::status(), tfmini::stop(), TFMINI_DEFAULT_PORT, and tfmini::usage().

Here is the call graph for this function: