PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "LSM303AGR.hpp"
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/defines.h>
#include <px4_platform_common/getopt.h>
Go to the source code of this file.
Namespaces | |
lsm303agr | |
Local functions in support of the shell command. | |
Macros | |
#define | LSM303AGR_DEVICE_PATH_MAG "/dev/lsm303agr_mag" |
Functions | |
__EXPORT int | lsm303agr_main (int argc, char *argv[]) |
void | lsm303agr::start (enum Rotation rotation) |
Start the driver. More... | |
void | lsm303agr::info () |
Print a little info about the driver. More... | |
void | lsm303agr::usage () |
Prints info about the driver argument usage. More... | |
Variables | |
LSM303AGR * | lsm303agr::g_dev |
#define LSM303AGR_DEVICE_PATH_MAG "/dev/lsm303agr_mag" |
Definition at line 40 of file lsm303agr_main.cpp.
Referenced by lsm303agr::start().
int lsm303agr_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 137 of file lsm303agr_main.cpp.
References errx, lsm303agr::info(), ROTATION_NONE, lsm303agr::start(), and lsm303agr::usage().