|
rm_control
|
#include "rm_common/ori_tool.h"#include "rm_common/math_utilities.h"#include <eigen3/Eigen/Eigenvalues>
Functions | |
| void | quatToRPY (const geometry_msgs::Quaternion &q, double &roll, double &pitch, double &yaw) |
| double | yawFromQuat (const geometry_msgs::Quaternion &q) |
| tf2::Quaternion | getAverageQuaternion (const std::vector< tf2::Quaternion > &quaternions, const std::vector< double > &weights) |
| tf2::Quaternion | rotationMatrixToQuaternion (const Eigen::Map< Eigen::Matrix3d > &rot) |
| tf2::Quaternion getAverageQuaternion | ( | const std::vector< tf2::Quaternion > & | quaternions, |
| const std::vector< double > & | weights ) |
| void quatToRPY | ( | const geometry_msgs::Quaternion & | q, |
| double & | roll, | ||
| double & | pitch, | ||
| double & | yaw ) |
Convert a quaternion to RPY. Uses ZYX order (yaw-pitch-roll), but returns angles in (roll, pitch, yaw).
| tf2::Quaternion rotationMatrixToQuaternion | ( | const Eigen::Map< Eigen::Matrix3d > & | rot | ) |
| double yawFromQuat | ( | const geometry_msgs::Quaternion & | q | ) |