PX4 Firmware
PX4 Autopilot Software http://px4.io
df_trone_wrapper.cpp File Reference

Driver to access the TROne of the DriverFramework. More...

#include <px4_platform_common/px4_config.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <unistd.h>
#include <px4_platform_common/getopt.h>
#include <errno.h>
#include <string>
#include <perf/perf_counter.h>
#include <systemlib/err.h>
#include <drivers/drv_range_finder.h>
#include <drivers/drv_hrt.h>
#include <uORB/uORB.h>
#include <uORB/topics/distance_sensor.h>
#include <board_config.h>
#include <trone/TROne.hpp>
#include <DevMgr.hpp>
Include dependency graph for df_trone_wrapper.cpp:

Go to the source code of this file.

Classes

class  DfTROneWrapper
 

Namespaces

 df_trone_wrapper
 

Functions

__EXPORT int df_trone_wrapper_main (int argc, char *argv[])
 
int df_trone_wrapper::start (uint8_t rotation)
 
int df_trone_wrapper::stop ()
 Stop the driver. More...
 
int df_trone_wrapper::info ()
 Print a little info about the driver. More...
 
int df_trone_wrapper::probe ()
 Who am i. More...
 
void df_trone_wrapper::usage ()
 Prints info about the driver argument usage. More...
 

Variables

DfTROneWrapperdf_trone_wrapper::g_dev = nullptr
 

Detailed Description

Driver to access the TROne of the DriverFramework.

Author
Nicolas de Palezieux ndepa.nosp@m.l@gm.nosp@m.ail.c.nosp@m.om

Definition in file df_trone_wrapper.cpp.

Function Documentation

◆ df_trone_wrapper_main()

int df_trone_wrapper_main ( int  argc,
char *  argv[] 
)

Definition at line 310 of file df_trone_wrapper.cpp.

References df_trone_wrapper::info(), df_trone_wrapper::probe(), df_trone_wrapper::start(), df_trone_wrapper::stop(), and df_trone_wrapper::usage().

Here is the call graph for this function: