momentumopt
OrientationUtils.cpp File Reference
Include dependency graph for OrientationUtils.cpp:

Namespaces

 momentumopt
 

Functions

Eigen::Matrix3d momentumopt::skewMatrix (const Eigen::Vector3d &vec)
 
Eigen::Vector3d momentumopt::logarithmicMap (const Eigen::Quaternion< double > &quaternion)
 
Eigen::Quaternion< double > momentumopt::exponentialMap (const Eigen::Vector3d &rotation_vector)
 
Eigen::Matrix4d momentumopt::toQuaternionMatrix (const Eigen::Quaternion< double > &quaternion, bool is_conjugate)
 
Eigen::Matrix< double, 4, 3 > momentumopt::jacobianQuaternionWrtRotationVector (const Eigen::Vector3d &rotation_vector)
 
Eigen::Matrix3d momentumopt::jacobianAngularVelocityWrtRotationVector (const Eigen::Vector3d &rotation_vector)
 
Eigen::Vector3d momentumopt::toAngularVelocity (const Eigen::Vector3d &rotation_vector, const Eigen::Vector3d &rotation_vector_rates, bool in_body_coordinates)
 
Eigen::Vector3d momentumopt::fromAngularVelocity (const Eigen::Vector3d &rotation_vector, const Eigen::Vector3d &angular_velocity, bool in_body_coordinates)
 
Eigen::Vector3d momentumopt::requiredAngularVelocity (const Eigen::Quaternion< double > &desired_orientation, const Eigen::Quaternion< double > &current_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 orientation in a given time interval. More...
 
Eigen::Quaternion< double > momentumopt::integrateAngularVelocity (const Eigen::Quaternion< double > &current_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 time interval for integration
 
Eigen::Vector3d momentumopt::orientationError (const Eigen::Quaternion< double > &desired_orientation, const Eigen::Quaternion< double > &current_orientation)
 computes the error between two quaternions by rotating the desired orientation back by the current orientation, and taking the logarithm of the result.
 

Detailed Description

Author
Brahayam Ponton (braha.nosp@m.yam..nosp@m.ponto.nosp@m.n@tu.nosp@m.ebing.nosp@m.en.m.nosp@m.pg.de)
License:
License BSD-3-Clause
Date
2019-10-08