Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ahrs.c File Reference

Attitude and Heading Reference System interface. More...

#include "subsystems/ahrs.h"
+ Include dependency graph for ahrs.c:

Go to the source code of this file.

Macros

#define WEAK   __attribute__((weak))
 

Functions

void WEAK ahrs_propagate (void)
 Propagation. More...
 
void WEAK ahrs_update_accel (void)
 Update AHRS state with accerleration measurements. More...
 
void WEAK ahrs_update_mag (void)
 Update AHRS state with magnetometer measurements. More...
 
void WEAK ahrs_update_gps (void)
 Update AHRS state with GPS measurements. More...
 

Variables

struct Ahrs ahrs
 global AHRS state More...
 

Detailed Description

Attitude and Heading Reference System interface.

Definition in file ahrs.c.

Macro Definition Documentation

#define WEAK   __attribute__((weak))

Definition at line 32 of file ahrs.c.

Function Documentation

void WEAK ahrs_propagate ( void  )

Propagation.

Usually integrates the gyro rates to angles. Reads the global imu data struct. Does nothing if not implemented by specific AHRS algorithm.

Definition at line 35 of file ahrs.c.

void WEAK ahrs_update_accel ( void  )

Update AHRS state with accerleration measurements.

Reads the global imu data struct. Does nothing if not implemented by specific AHRS algorithm.

Definition at line 37 of file ahrs.c.

void WEAK ahrs_update_gps ( void  )

Update AHRS state with GPS measurements.

Reads the global gps data struct. Does nothing if not implemented by specific AHRS algorithm.

Definition at line 41 of file ahrs.c.

void WEAK ahrs_update_mag ( void  )

Update AHRS state with magnetometer measurements.

Reads the global imu data struct. Does nothing if not implemented by specific AHRS algorithm.

Definition at line 39 of file ahrs.c.

Variable Documentation