![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Base/IMUPoseIntegration.h>
Inheritance diagram for Mahony:Mahony sensor fusion.
Based on https://github.com/PaulStoffregen/MahonyAHRS. Converges slightly faster than Madgwick, but supposed to be less accurate. See https://en.wikipedia.org/wiki/PID_controller for the configuration constants
Public Member Functions | |
| void | reset () override |
| Restores the initial state. | |
| Eigen::Quaterniond | orientationQuaternion () const override |
| Returns the orientation of the most recent state. | |
| vec3 | position () const override |
| Returns the position in world coords. | |
| void | update (const vec3 &angularVelocityDegPerSec, const vec3 &linAcc, const vec3 &mag, double timestampSeconds) override |
| Propagates the physical state using a new measurement. | |
| void | update (double gx, double gy, double gz, double ax, double ay, double az, double mx, double my, double mz, double timestamp) |
| Propagates the physical state using a new measurement. | |
| void | updateIMU (double gx, double gy, double gz, double ax, double ay, double az, double timestamp) |
| Propagates the physical state using a new measurement without magnetic information. | |
|
overridevirtual |
Restores the initial state.
Implements LiveSensorFusion.
|
overridevirtual |
Returns the orientation of the most recent state.
Implements LiveSensorFusion.
|
overridevirtual |
Returns the position in world coords.
Implements LiveSensorFusion.
|
overridevirtual |
Propagates the physical state using a new measurement.
Implements LiveSensorFusion.