Koduino
|
Complementary filter implementation. More...
#include <ComplementaryFilter.h>
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.
|
inlinevirtual |
Get filtered Euler angles.
e->angles[]
is a float[3]
array of angles and, e->angRates[]
of angular rates Implements OrientationFilter.
|
inlinevirtual |
Update filter from measurements (usually from IMU.readSensors())
acc | Measured acc |
gyr | Measured gyr |
Implements OrientationFilter.