Go to the documentation of this file.
5 # define EIGEN_PI 3.141592653589793238462643383279502884197169399375105820974944592307816406L
17 const Eigen::Vector3d
vertical = Eigen::Vector3d{0., 0., 1.};
27 constexpr
double toDeg(
const double rad)
29 return rad * 180. /
PI;
39 constexpr
double toRad(
const double degrees)
41 return degrees *
PI / 180.;
#define EIGEN_PI
Definition: constants.h:5
const Eigen::Vector3d gravity
Definition: constants.h:16
const Eigen::Vector3d vertical
Definition: constants.h:17
constexpr double GRAVITY
Definition: constants.h:13
constexpr double PI
Definition: constants.h:18
constexpr double toRad(const double degrees)
Converts degrees to radians.
Definition: constants.h:39
constexpr double toDeg(const double rad)
Converts radians to degrees.
Definition: constants.h:27