Class Orientation

Class Documentation

class Orientation

Public Functions

inline Orientation(const float roll, const float pitch, const float yaw)
inline Orientation(Orientation &&other)
inline Orientation(Orientation &other)
inline Orientation(const CMSISMat<3, 3> &matrix)
inline Orientation(CMSISMat<3, 3> &&matrix)
inline float roll() const

Returns roll as values between [-pi, +pi].

If pitch is completely vertical (-pi / 2 or pi / 2) then roll and yaw are gimbal-locked. In this case, roll is taken to be 0.

inline float pitch() const
inline float yaw() const
inline const CMSISMat<3, 3> &matrix() const

Friends

friend class Transform