APM:Libraries
|
#include <AP_HAL/AP_HAL.h>
#include "AP_InertialSensor_L3G4200D.h"
#include <inttypes.h>
#include <utility>
Go to the source code of this file.
Variables | |
const AP_HAL::HAL & | hal |
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- More... | |
#define ADXL345_ACCELEROMETER_ADDRESS 0x53 |
Accelerometer ADXL345 register definitions.
Definition at line 41 of file AP_InertialSensor_L3G4200D.cpp.
#define ADXL345_ACCELEROMETER_ADXLREG_BW_RATE 0x2c |
Definition at line 43 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define ADXL345_ACCELEROMETER_ADXLREG_DATA_FORMAT 0x31 |
Definition at line 45 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define ADXL345_ACCELEROMETER_ADXLREG_DATAX0 0x32 |
Definition at line 47 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define ADXL345_ACCELEROMETER_ADXLREG_DEVID 0x00 |
Definition at line 46 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define ADXL345_ACCELEROMETER_ADXLREG_FIFO_CTL 0x38 |
Definition at line 48 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define ADXL345_ACCELEROMETER_ADXLREG_FIFO_CTL_STREAM 0x9F |
Definition at line 49 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define ADXL345_ACCELEROMETER_ADXLREG_FIFO_STATUS 0x39 |
Definition at line 50 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define ADXL345_ACCELEROMETER_ADXLREG_POWER_CTL 0x2d |
Definition at line 44 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define ADXL345_ACCELEROMETER_SCALE_M_S (GRAVITY_MSS / 256.0f) |
Definition at line 55 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define ADXL345_ACCELEROMETER_XL345_DEVID 0xe5 |
Definition at line 42 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_GYRO_SCALE_R_S (DEG_TO_RAD * 70.0f * 0.001f) |
Definition at line 90 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define L3G4200D_I2C_ADDRESS 0x69 |
Gyro ITG3205 register definitions.
Definition at line 58 of file AP_InertialSensor_L3G4200D.cpp.
#define L3G4200D_REG_AUTO_INCREMENT 0x80 |
Definition at line 85 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define L3G4200D_REG_CTRL_REG1 0x20 |
Definition at line 63 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_CTRL_REG1_DRBW_800_110 0xf0 |
Definition at line 64 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_CTRL_REG1_PD 0x08 |
Definition at line 65 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_CTRL_REG1_XYZ_ENABLE 0x07 |
Definition at line 66 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_CTRL_REG4 0x23 |
Definition at line 68 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_CTRL_REG4_FS_2000 0x30 |
Definition at line 69 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_CTRL_REG5 0x24 |
Definition at line 71 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_CTRL_REG5_FIFO_EN 0x40 |
Definition at line 72 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_FIFO_CTL 0x2e |
Definition at line 74 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_FIFO_CTL_STREAM 0x40 |
Definition at line 75 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_FIFO_SRC 0x2f |
Definition at line 77 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define L3G4200D_REG_FIFO_SRC_EMPTY 0x20 |
Definition at line 79 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define L3G4200D_REG_FIFO_SRC_ENTRIES_MASK 0x1f |
Definition at line 78 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define L3G4200D_REG_FIFO_SRC_OVERRUN 0x40 |
Definition at line 80 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
#define L3G4200D_REG_WHO_AM_I 0x0f |
Definition at line 60 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_WHO_AM_I_VALUE 0xd3 |
Definition at line 61 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_init_sensor().
#define L3G4200D_REG_XL 0x28 |
Definition at line 82 of file AP_InertialSensor_L3G4200D.cpp.
Referenced by AP_InertialSensor_L3G4200D::_accumulate().
const AP_HAL::HAL& hal |
-*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
Definition at line 14 of file AC_PID_test.cpp.