Firmware
Classes | Namespaces | Functions | Variables
tfmini.cpp File Reference
#include <px4_config.h>
#include <px4_workqueue.h>
#include <px4_getopt.h>
#include <px4_module.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include <semaphore.h>
#include <string.h>
#include <fcntl.h>
#include <poll.h>
#include <errno.h>
#include <stdio.h>
#include <math.h>
#include <unistd.h>
#include <termios.h>
#include <perf/perf_counter.h>
#include <systemlib/err.h>
#include <drivers/drv_hrt.h>
#include <drivers/drv_range_finder.h>
#include <drivers/device/device.h>
#include <drivers/device/ringbuffer.h>
#include <uORB/uORB.h>
#include <uORB/topics/distance_sensor.h>
#include <board_config.h>
#include "tfmini_parser.h"

Classes

class  TFMINI
 

Namespaces

 tfmini
 Local functions in support of the shell command.
 

Functions

__EXPORT int tfmini_main (int argc, char *argv[])
 
int tfmini::start (const char *port, uint8_t rotation)
 Start the driver.
 
int tfmini::stop ()
 Stop the driver. More...
 
int tfmini::test ()
 Perform some basic functional tests on the driver; make sure we can collect data from the sensor in polled and automatic modes.
 
int tfmini::info ()
 Print a little info about the driver. More...
 
void tfmini::usage ()
 Print a little info on how to use the driver. More...
 

Variables

TFMINItfmini::g_dev
 

Detailed Description

Author
Lorenz Meier lm@in.nosp@m.f.et.nosp@m.hz.ch
Greg Hulands
Ayush Gaud ayush.nosp@m..gau.nosp@m.d@gma.nosp@m.il.c.nosp@m.om
Christoph Tobler chris.nosp@m.toph.nosp@m.@px4..nosp@m.io
Mohammed Kabir mhkab.nosp@m.ir@m.nosp@m.it.ed.nosp@m.u

Driver for the Benewake TFmini laser rangefinder series