![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/IMUPoseIntegration.h>
Madgwick sensor fusion. More...
Inheritance diagram for Madgwick:Madgwick sensor fusion.
Adapted from https://github.com/PaulStoffregen/MadgwickAHRS
Public Member Functions | |
| void | setBeta (double val) |
| Explicit parameter override, use with care. | |
| void | setDescentsPerStep (int val) |
| Define descents per step. | |
| void | setBetaFromGyroError (double gyroSigmaInDegreesPerSec) |
| Conversion as used in the original paper: http://x-io.co.uk/res/doc/madgwick_internal_report.pdf. | |
| void | update (const vec3 &angularVelocityDegPerSec, const vec3 &linAcc, const vec3 &mag, double timestampSeconds) override |
| Propagates the physical state using a new measurement. | |
| Eigen::Quaterniond | orientationQuaternion () const override |
| Returns the orientation of the most recent state. | |
| vec3 | position () const override |
| Returns the position in world coords. | |
| void | reset () override |
| Restores the initial state. | |
|
overridevirtual |
Propagates the physical state using a new measurement.
Implements LiveSensorFusion.
|
overridevirtual |
Returns the orientation of the most recent state.
Implements LiveSensorFusion.
|
overridevirtual |
Returns the position in world coords.
Implements LiveSensorFusion.
|
overridevirtual |
Restores the initial state.
Implements LiveSensorFusion.