Koduino
Public Member Functions | List of all members
ComplementaryFilter Class Reference

Complementary filter implementation. More...

#include <ComplementaryFilter.h>

Detailed Description

Complementary filter implementation.

Public Member Functions

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

Inherits OrientationFilter.

Member Function Documentation

const EulerState* ComplementaryFilter::getEuler ( )
inlinevirtual

Get filtered Euler angles.

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

Implements OrientationFilter.

void ComplementaryFilter::update ( const float *  acc,
const float *  gyr 
)
inlinevirtual

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

Parameters
accMeasured acc
gyrMeasured gyr

Implements OrientationFilter.


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