Public Member Functions | Public Attributes

AP_DCM Class Reference

#include <AP_DCM.h>

Collaboration diagram for AP_DCM:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AP_DCM (AP_IMU *imu, GPS *gps)
 AP_DCM (AP_IMU *imu, GPS *gps, Compass *withCompass)
Vector3f get_gyro (void)
Vector3f get_accel (void)
Matrix3f get_dcm_matrix (void)
Matrix3f get_dcm_transposed (void)
void set_centripetal (bool b)
void set_compass (Compass *compass)
void update_DCM (float _G_Dt)
float get_health (void)

Public Attributes

long roll_sensor
long pitch_sensor
long yaw_sensor
float roll
float pitch
float yaw
uint8_t gyro_sat_count
uint8_t renorm_sqrt_count
uint8_t renorm_blowup_count

Detailed Description

Definition at line 20 of file AP_DCM.h.


Constructor & Destructor Documentation

AP_DCM::AP_DCM ( AP_IMU imu,
GPS gps 
) [inline]

Definition at line 12 of file AP_DCM.h.

AP_DCM::AP_DCM ( AP_IMU imu,
GPS gps,
Compass withCompass 
) [inline]

Definition at line 23 of file AP_DCM.h.


Member Function Documentation

Vector3f AP_DCM::get_accel ( void   )  [inline]

Definition at line 36 of file AP_DCM.h.

Matrix3f AP_DCM::get_dcm_matrix ( void   )  [inline]

Definition at line 37 of file AP_DCM.h.

Matrix3f AP_DCM::get_dcm_transposed ( void   )  [inline]

Definition at line 38 of file AP_DCM.h.

Vector3f AP_DCM::get_gyro ( void   )  [inline]

Definition at line 35 of file AP_DCM.h.

float AP_DCM::get_health ( void   ) 

Definition at line 329 of file AP_DCM.cpp.

void AP_DCM::set_centripetal ( bool  b  ) 
void AP_DCM::set_compass ( Compass compass  ) 

Definition at line 35 of file AP_DCM.cpp.

void AP_DCM::update_DCM ( float  _G_Dt  ) 

Definition at line 42 of file AP_DCM.cpp.


Member Data Documentation

Definition at line 56 of file AP_DCM.h.

Definition at line 53 of file AP_DCM.h.

Definition at line 49 of file AP_DCM.h.

Definition at line 58 of file AP_DCM.h.

Definition at line 57 of file AP_DCM.h.

float AP_DCM::roll

Definition at line 52 of file AP_DCM.h.

Definition at line 48 of file AP_DCM.h.

float AP_DCM::yaw

Definition at line 54 of file AP_DCM.h.

Definition at line 50 of file AP_DCM.h.


The documentation for this class was generated from the following files: