APM:Libraries
Classes | Namespaces | Macros | Functions
AP_InertialSensor.h File Reference
#include <stdint.h>
#include <AP_AccelCal/AP_AccelCal.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
#include <Filter/LowPassFilter2p.h>
#include <Filter/LowPassFilter.h>
#include <Filter/NotchFilter.h>
Include dependency graph for AP_InertialSensor.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AP_InertialSensor
 
class  AP_InertialSensor::BatchSampler
 
struct  AP_InertialSensor::PeakHoldState
 

Namespaces

 AP
 

Macros

#define AP_INERTIAL_SENSOR_ACCEL_TOT_MAX_OFFSET_CHANGE   4.0f
 
#define AP_INERTIAL_SENSOR_ACCEL_MAX_OFFSET   250.0f
 
#define AP_INERTIAL_SENSOR_ACCEL_CLIP_THRESH_MSS   (15.5f*GRAVITY_MSS)
 
#define AP_INERTIAL_SENSOR_ACCEL_VIBE_FLOOR_FILT_HZ   5.0f
 
#define AP_INERTIAL_SENSOR_ACCEL_VIBE_FILT_HZ   2.0f
 
#define AP_INERTIAL_SENSOR_ACCEL_PEAK_DETECT_TIMEOUT_MS   500
 
#define INS_MAX_INSTANCES   3
 
#define INS_MAX_BACKENDS   6
 
#define INS_VIBRATION_CHECK_INSTANCES   2
 
#define DEFAULT_IMU_LOG_BAT_MASK   0
 

Functions

AP_InertialSensorAP::ins ()
 

Macro Definition Documentation

◆ AP_INERTIAL_SENSOR_ACCEL_CLIP_THRESH_MSS

#define AP_INERTIAL_SENSOR_ACCEL_CLIP_THRESH_MSS   (15.5f*GRAVITY_MSS)

◆ AP_INERTIAL_SENSOR_ACCEL_MAX_OFFSET

#define AP_INERTIAL_SENSOR_ACCEL_MAX_OFFSET   250.0f

Definition at line 5 of file AP_InertialSensor.h.

◆ AP_INERTIAL_SENSOR_ACCEL_PEAK_DETECT_TIMEOUT_MS

#define AP_INERTIAL_SENSOR_ACCEL_PEAK_DETECT_TIMEOUT_MS   500

Definition at line 9 of file AP_InertialSensor.h.

Referenced by AP_InertialSensor::set_accel_peak_hold().

◆ AP_INERTIAL_SENSOR_ACCEL_TOT_MAX_OFFSET_CHANGE

#define AP_INERTIAL_SENSOR_ACCEL_TOT_MAX_OFFSET_CHANGE   4.0f

Definition at line 4 of file AP_InertialSensor.h.

◆ AP_INERTIAL_SENSOR_ACCEL_VIBE_FILT_HZ

#define AP_INERTIAL_SENSOR_ACCEL_VIBE_FILT_HZ   2.0f

Definition at line 8 of file AP_InertialSensor.h.

Referenced by AP_InertialSensor::AP_InertialSensor().

◆ AP_INERTIAL_SENSOR_ACCEL_VIBE_FLOOR_FILT_HZ

#define AP_INERTIAL_SENSOR_ACCEL_VIBE_FLOOR_FILT_HZ   5.0f

Definition at line 7 of file AP_InertialSensor.h.

Referenced by AP_InertialSensor::AP_InertialSensor().

◆ DEFAULT_IMU_LOG_BAT_MASK

#define DEFAULT_IMU_LOG_BAT_MASK   0

Definition at line 19 of file AP_InertialSensor.h.

◆ INS_MAX_BACKENDS

#define INS_MAX_BACKENDS   6

Definition at line 16 of file AP_InertialSensor.h.

Referenced by AP_InertialSensor::_add_backend().

◆ INS_MAX_INSTANCES

#define INS_MAX_INSTANCES   3

◆ INS_VIBRATION_CHECK_INSTANCES

#define INS_VIBRATION_CHECK_INSTANCES   2