45 #ifndef BSFM_GEOMETRY_ROTATION_H
46 #define BSFM_GEOMETRY_ROTATION_H
52 using Eigen::Matrix3d;
53 using Eigen::Vector3d;
72 double Roll(
const Matrix3d& R);
76 double Pitch(
const Matrix3d& R);
80 double Yaw(
const Matrix3d& R);
83 double Unroll(
double angle);
94 double D2R(
double angle);
97 double R2D(
double angle);
100 double SO3Error(
const Matrix3d& R1,
const Matrix3d& R2);
double Normalize(double angle)
double Roll(const Matrix3d &R)
double S1Distance(double from, double to)
Vector3d MatrixToEulerAngles(const Matrix3d &R)
double Unroll(double angle)
double Pitch(const Matrix3d &R)
double Yaw(const Matrix3d &R)
double SO3Error(const Matrix3d &R1, const Matrix3d &R2)
Matrix3d EulerAnglesToMatrix(double phi, double theta, double psi)