Koduino
|
#include <EKF.h>
EKF 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... | |
Protected Attributes | |
mat3 | P |
Orientation. | |
vec3 | w |
System covariance. | |
Inherits OrientationFilter.
|
virtual |
Get filtered Euler angles.
e->angles[]
is a float[3]
array of angles and, e->angRates[]
of angular rates Implements OrientationFilter.
|
virtual |
Update filter from measurements (usually from IMU.readSensors())
acc | Measured acc |
gyr | Measured gyr |
Implements OrientationFilter.