Defines | Functions | Variables

C:/Documents and Settings/gw/My Documents/Other projects/flightos/Libraries/DCM.h File Reference

Go to the source code of this file.

Defines

#define Kp_YAW   1.2
#define Ki_YAW   0.00002
#define OUTPUTMODE   1

Functions

void DCM_reference (void)
void Normalize (void)
void Drift_correction (void)
void Matrix_update (void)
void Euler_angles (void)

Variables

float DCM_Matrix [3][3]
float Update_Matrix [3][3] = {{0,1,2},{3,4,5},{6,7,8}}
float Temporary_Matrix [3][3]
float Omega_Vector [3] = {0,0,0}
float Omega_P [3] = {0,0,0}
float Omega_I [3] = {0,0,0}
float Omega [3] = {0,0,0}
float errorRollPitch [3] = {0,0,0}
float errorYaw [3] = {0,0,0}

Define Documentation

#define Ki_YAW   0.00002
#define Kp_YAW   1.2
#define OUTPUTMODE   1

Function Documentation

void DCM_reference ( void   ) 
void Drift_correction ( void   ) 
void Euler_angles ( void   ) 
void Matrix_update ( void   ) 
void Normalize ( void   ) 

Variable Documentation

float DCM_Matrix[3][3]
Initial value:
 {
  {
    1,0,0  }
  ,{
    0,1,0  }
  ,{
    0,0,1  }
}
float errorRollPitch[3] = {0,0,0}
float errorYaw[3] = {0,0,0}
float Omega[3] = {0,0,0}
float Omega_I[3] = {0,0,0}
float Omega_P[3] = {0,0,0}
float Omega_Vector[3] = {0,0,0}
float Temporary_Matrix[3][3]
Initial value:
{
  {
    0,0,0  }
  ,{
    0,0,0  }
  ,{
    0,0,0  }
}
float Update_Matrix[3][3] = {{0,1,2},{3,4,5},{6,7,8}}
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines