221 #endif // QUATERNION_H
float GetNorm(void) const
Norm.
Quaternion(float q0=1, float q1=0, float q2=0, float q3=0)
Constructor.
namespace of the flair Framework
Definition: Ahrs.h:19
void Normalize(void)
Normalize.
void Conjugate(void)
Conjugate.
Class defining euler angles.
Definition: Euler.h:27
float q1
q1
Definition: Quaternion.h:133
Class defining a rotation matrix.
Definition: RotationMatrix.h:26
Class defining a 3D vector.
Quaternion GetDerivative(const Vector3Df &angularSpeed) const
Derivative.
void Derivate(const Vector3Df &angularSpeed)
Derivate.
void ToRotationMatrix(RotationMatrix &matrix) const
Convert to rotation matrix.
Quaternion GetConjugate(void)
Conjugate.
float q2
q2
Definition: Quaternion.h:138
Quaternion operator*(Quaternion const &quaternionA, Quaternion const &quaterniontB)
Multiply.
float q0
q0
Definition: Quaternion.h:128
Quaternion operator-(Quaternion const &quaternionA, Quaternion const &quaterniontB)
Substract.
float q3
q3
Definition: Quaternion.h:143
Vector3Df GetLogarithm(void)
Logarithm.
Euler ToEuler(void) const
Convert to euler angles.
Quaternion operator+(Quaternion const &quaterniontA, Quaternion const &quaterniontB)
Add.
Class defining a quaternion.
Definition: Quaternion.h:26