Koduino
|
Base class for attitude filters. More...
#include <OrientationFilter.h>
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.
|
pure virtual |
Get filtered Euler angles.
e->angles[]
is a float[3]
array of angles and, e->angRates[]
of angular rates Implemented in EKF, and ComplementaryFilter.
|
pure virtual |
Update filter from measurements (usually from IMU.readSensors())
acc | Measured acc |
gyr | Measured gyr |
Implemented in EKF, and ComplementaryFilter.