Paparazzi UAS  v5.15_devel-88-gb3ad7fe
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
imu_analog.h File Reference

Inertial Measurement Unit using onboard ADCs. More...

#include "subsystems/imu.h"
+ Include dependency graph for imu_analog.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NB_ANALOG_IMU_ADC   6
 
#define IMU_ACCEL_X_SENS_NUM   1
 
#define IMU_ACCEL_X_SENS_DEN   1
 
#define IMU_ACCEL_Y_SENS_NUM   1
 
#define IMU_ACCEL_Y_SENS_DEN   1
 
#define IMU_ACCEL_Z_SENS_NUM   1
 
#define IMU_ACCEL_Z_SENS_DEN   1
 

Functions

void imu_analog_init (void)
 
void imu_analog_periodic (void)
 

Variables

int imu_overrun
 

Detailed Description

Inertial Measurement Unit using onboard ADCs.

Definition in file imu_analog.h.

Macro Definition Documentation

#define IMU_ACCEL_X_SENS_DEN   1

Definition at line 57 of file imu_analog.h.

#define IMU_ACCEL_X_SENS_NUM   1

Definition at line 56 of file imu_analog.h.

#define IMU_ACCEL_Y_SENS_DEN   1

Definition at line 59 of file imu_analog.h.

#define IMU_ACCEL_Y_SENS_NUM   1

Definition at line 58 of file imu_analog.h.

#define IMU_ACCEL_Z_SENS_DEN   1

Definition at line 61 of file imu_analog.h.

#define IMU_ACCEL_Z_SENS_NUM   1

Definition at line 60 of file imu_analog.h.

#define NB_ANALOG_IMU_ADC   6

Definition at line 31 of file imu_analog.h.

Function Documentation

void imu_analog_init ( void  )

Definition at line 30 of file imu_analog.c.

References adc_buf_channel(), analog_imu_adc_buf, and imu_overrun.

+ Here is the call graph for this function:

Variable Documentation

int imu_overrun

Definition at line 26 of file imu_analog.c.

Referenced by imu_analog_init(), and imu_analog_periodic().