ImFusion SDK 4.3
Madgwick Class Reference

#include <ImFusion/Base/IMUPoseIntegration.h>

Madgwick sensor fusion. More...

+ Inheritance diagram for Madgwick:

Detailed Description

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.
 

Member Function Documentation

◆ update()

void update ( const vec3 & angularVelocityDegPerSec,
const vec3 & linAcc,
const vec3 & mag,
double timestampSeconds )
overridevirtual

Propagates the physical state using a new measurement.

Implements LiveSensorFusion.

◆ orientationQuaternion()

Eigen::Quaterniond orientationQuaternion ( ) const
overridevirtual

Returns the orientation of the most recent state.

Implements LiveSensorFusion.

◆ position()

vec3 position ( ) const
overridevirtual

Returns the position in world coords.

Implements LiveSensorFusion.

◆ reset()

void reset ( )
overridevirtual

Restores the initial state.

Implements LiveSensorFusion.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close