11 #include <Eigen/Geometry> 18 Eigen::Vector3d
orientationError(
const Eigen::Quaternion<double>& desired_orientation,
19 const Eigen::Quaternion<double>& current_orientation);
26 const Eigen::Quaternion<double>& current_orientation,
27 const double& time_step,
bool in_body_coordinates=
false);
33 const Eigen::Vector3d& angular_velocity,
34 const double& time_step,
bool in_body_coordinates=
false);
Eigen::Vector3d requiredAngularVelocity(const Eigen::Quaternion< double > &desired_orientation, const Eigen::Quaternion< double > ¤t_orientation, const double &time_step, bool in_body_coordinates=false)
computation of the required angular velocity to move from a current orientation to a desired orientat...
Definition: OrientationUtils.cpp:111
Eigen::Vector3d orientationError(const Eigen::Quaternion< double > &desired_orientation, const Eigen::Quaternion< double > ¤t_orientation)
computes the error between two quaternions by rotating the desired orientation back by the current or...
Definition: OrientationUtils.cpp:142
Eigen::Quaternion< double > integrateAngularVelocity(const Eigen::Quaternion< double > ¤t_orientation, const Eigen::Vector3d &angular_velocity, const double &time_step, bool in_body_coordinates=false)
integration of a quaternion given an angular velocity given either in body or world coordinates and a...
Definition: OrientationUtils.cpp:127