Koduino
Public Member Functions | List of all members
OrientationFilter Class Referenceabstract

Base class for attitude filters. More...

#include <OrientationFilter.h>

Detailed Description

Base class for attitude filters.

Public Member Functions

virtual void update (const float *acc, const float *gyr)=0
 Update filter from measurements (usually from IMU.readSensors()) More...
 
virtual const EulerState * getEuler ()=0
 Get filtered Euler angles. More...
 

Inherited by ComplementaryFilter, and EKF.

Member Function Documentation

virtual const EulerState* OrientationFilter::getEuler ( )
pure virtual

Get filtered Euler angles.

Returns
e->angles[] is a float[3] array of angles and, e->angRates[] of angular rates

Implemented in EKF, and ComplementaryFilter.

virtual void OrientationFilter::update ( const float *  acc,
const float *  gyr 
)
pure virtual

Update filter from measurements (usually from IMU.readSensors())

Parameters
accMeasured acc
gyrMeasured gyr

Implemented in EKF, and ComplementaryFilter.


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