Tyler Weaver / AHRS

Dependencies:   MODSERIAL

Dependents:   AHRS_demo

Embed: (wiki syntax)

« Back to documentation index

IMU Class Reference

IMU Class Reference

Internal Measurement Unit. More...

#include <AHRS.h>

Public Member Functions

void loop (float *)
 Loop that calculates values and places them in a array.
void Read_Gyro ()
 Reads from the ITG3200 gyro.

Detailed Description

Internal Measurement Unit.

Uses DCM algorithm to calculate Euler angle values

Modified Razr_AHRS 1.4 code

Definition at line 282 of file AHRS.h.


Member Function Documentation

void loop ( float *  data )

Loop that calculates values and places them in a array.

Parameters:
dataarray of length=4 to contain data[0] = temperature (C); data[1] = yaw (deg) data[2] = pitch (deg) data[3] = roll (deg)

Definition at line 300 of file AHRS.cpp.

void Read_Gyro (  )

Reads from the ITG3200 gyro.

Gyro xyz values in gyro[3] Temperature value in temperature

TODO: thermal drift adjustment

Definition at line 153 of file Sensors.cpp.