#include <px4_config.h>
#include <px4_getopt.h>
#include <px4_workqueue.h>
#include <sys/types.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 <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 "sf0x_parser.h"
|
| sf0x |
| Local functions in support of the shell command.
|
|
|
#define | SF0X_TAKE_RANGE_REG 'd' |
|
#define | SF0X_DEFAULT_PORT "/dev/ttyS6" |
|
|
__EXPORT int | sf0x_main (int argc, char *argv[]) |
|
int | sf0x::start (const char *port, uint8_t rotation) |
| Start the driver.
|
|
int | sf0x::stop () |
| Stop the driver. More...
|
|
int | sf0x::test () |
| Perform some basic functional tests on the driver; make sure we can collect data from the sensor in polled and automatic modes.
|
|
int | sf0x::reset () |
| Reset the driver. More...
|
|
int | sf0x::info () |
| Print a little info about the driver. More...
|
|
- Author
- Lorenz Meier lm@in.nosp@m.f.et.nosp@m.hz.ch
-
Greg Hulands
Driver for the Lightware SF0x laser rangefinder series