PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include <px4_platform_common/px4_config.h>
#include <px4_platform_common/log.h>
#include <px4_platform_common/module.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <arch/board/board.h>
#include <drivers/drv_gyro.h>
#include <drivers/drv_accel.h>
#include <drivers/drv_mag.h>
#include <drivers/drv_device.h>
#include <parameters/param.h>
Go to the source code of this file.
Functions | |
__EXPORT int | config_main (int argc, char *argv[]) |
static int | do_gyro (int argc, char *argv[]) |
static int | do_accel (int argc, char *argv[]) |
static int | do_mag (int argc, char *argv[]) |
static int | do_device (int argc, char *argv[]) |
static void | print_usage (void) |
config tool. Takes the device name as the first parameter.
Definition in file config.c.
int config_main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 72 of file config.c.
References do_accel(), do_device(), do_gyro(), do_mag(), and print_usage().
|
static |
Definition at line 265 of file config.c.
References fd, param_find(), param_get(), print_usage(), and SENSORIOCSPOLLRATE.
Referenced by config_main().
|
static |
Definition at line 118 of file config.c.
References fd, and print_usage().
Referenced by config_main().
|
static |
Definition at line 167 of file config.c.
References fd, param_find(), param_get(), print_usage(), and SENSORIOCSPOLLRATE.
Referenced by config_main().
|
static |
Definition at line 211 of file config.c.
References fd, MAGIOCSRANGE, param_find(), param_get(), print_usage(), and SENSORIOCSPOLLRATE.
Referenced by config_main().
|
static |
Definition at line 95 of file config.c.
Referenced by config_main(), do_accel(), do_device(), do_gyro(), and do_mag().