Structure Cardan

Cardan angles for the representation of a 3d rotation.

Namespace: dsp::geo

Fields list

φ : float

Roll.

θ : float

Pitch.

ψ : float

Yaw / heading.

Methods list

dsp::geo::Cardan::Cardan(const Eigen::Matrix3f &R)
From a rotationmatrix.

dsp::geo::Cardan::Cardan(float φ, float θ, float ψ)
From Cardan angles.

dsp::geo::Cardan::Cardan(const Quaternion &q)
From a quaternion.

Tabf mat_rotation() const
Compute the rotation matrix.