Definition of Quaternion and EulerAngles.
Quaternions can be multiplied (Hamiltonian product), normalized and can perform rotations of vectors. Quaternion also has an implementation of the following operators:
-
(conjugate)+
, +=
, -
, -=
(Hamiltonian product of quaternions, adds and subtracts angles)*
, *=
, /
, /=
(multiplication and division by scalars)==
, !=
(equality)<<
(printing)EulerAngles provides the conversions between Euler angles and quaternions. It also has an implementation of the following operators:
==
, !=
(equality)<<
(printing) Definition in file Quaternion.hpp.
#include <AH/Settings/Warnings.hpp>
#include <AH/Arduino-Wrapper.h>
#include <AH/Math/Degrees.hpp>
#include <AH/Math/Vector.hpp>
#include <AH/STL/cmath>
#include <AH/STL/limits>
Go to the source code of this file.
Classes | |
struct | Quaternion |
Type for quaternions of floating point numbers. More... | |
struct | EulerAngles |
Struct for Euler angles of floating point numbers. More... | |
Namespaces | |
namespace | AH |
PrintStream library | |