|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <cstdlib>#include <fcntl.h>#include <string.h>#include <stdio.h>#include <systemlib/err.h>#include <board_config.h>#include <drivers/device/i2c.h>#include <px4_platform_common/getopt.h>#include <px4_platform_common/module.h>#include "LidarLiteI2C.h"#include "LidarLitePWM.h"Go to the source code of this file.
Namespaces | |
| ll40ls | |
| Local functions in support of the shell command. | |
Functions | |
| int | ll40ls::print_regs () |
| Prints register information to the console. More... | |
| int | ll40ls::start (const uint8_t rotation) |
| Attempt to start driver on all available I2C busses. More... | |
| int | ll40ls::start_bus (const int bus, const uint8_t rotation) |
| Start the driver on a specific bus. More... | |
| int | ll40ls::start_pwm (const uint8_t rotation) |
| Start the pwm driver. More... | |
| int | ll40ls::status () |
| Prints status info about the driver. More... | |
| int | ll40ls::stop () |
| Stops the driver. More... | |
| int | ll40ls::usage () |
| Displays driver usage at the console. More... | |
| __EXPORT int | ll40ls_main (int argc, char *argv[]) |
| Driver 'main' command. More... | |
Variables | |
| LidarLite * | ll40ls::instance = nullptr |
Interface for the PulsedLight Lidar-Lite range finders.
Definition in file ll40ls.cpp.
| __EXPORT int ll40ls_main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Driver 'main' command.
Definition at line 266 of file ll40ls.cpp.
References ll40ls::print_regs(), ll40ls::start(), ll40ls::start_bus(), ll40ls::start_pwm(), ll40ls::status(), ll40ls::stop(), and ll40ls::usage().