|
template<typename V > |
using | EigenVector = std::vector< V, Eigen::aligned_allocator< V > > |
| A template for a vector that stores Eigen objects. More...
|
|
template<typename K , typename V > |
using | EigenMap = std::map< K, V, std::less< K >, Eigen::aligned_allocator< std::pair< const K, V > >> |
| A template for a map that stores Eigen objects. More...
|
|
template<typename K , typename V > |
using | EigenHash = std::unordered_map< K, V, std::hash< K >, std::equal_to< K >, Eigen::aligned_allocator< std::pair< const K, V > >> |
| A template for an unordered map that stores Eigen objects. More...
|
|
|
|
Eigen::Isometry2d | toIsometry (double x, double y, double theta) |
| Converts a translation (x, y) and rotation from X-axis (theta) into a transform. More...
|
|
double | getRotation (const Eigen::Isometry2d &frame) |
| Gets rotation from a frame from the X-axis (t) More...
|
|
Eigen::Isometry2d | toIsometry (const Eigen::Vector3d &vec) |
| Converts a vector [x, y, t] composed of a translation (x, y) and rotation from X-axis (t) into a transform. More...
|
|
double | transformDistance (const Eigen::Isometry2d &t1, const Eigen::Isometry2d &t2=Eigen::Isometry2d::Identity(), double alpha=0.75) |
| Return the transform distance between two transformations, w is the weight of the euclidean distance, and (1-w) the weight of the rotational distance (wrapping from -pi to pi). More...
|
|
Eigen::Vector3d | flattenIsometry (const Eigen::Isometry2d &frame) |
| Converts a transformation frame into a vector [x, y, t] composed of a translation (x, y) and rotation from X-axis(t). More...
|
|
|
KDL::Frame | EigenToKDLFrame (const Eigen::Isometry2d &iso) |
| Converts an Eigen transformation into a KDL transformation. More...
|
|
Eigen::Isometry2d | KDLToEigenFrame (const KDL::Frame &frame) |
| Converts an KDL transformation into a Eigen transformation. More...
|
|
KDL::JntArray | EigenToKDLVec (const Eigen::VectorXd &vec) |
| Converts an Eigen vector into a KDL vector. More...
|
|
Eigen::VectorXd | KDLToEigenVec (const KDL::JntArray &array) |
| Converts an KDL vector into a Eigen vector. More...
|
|
|
std::string | printFrame (const Eigen::Isometry2d &frame) |
| Returns a string "[x, y, t]" of the translation (x, y) and rotation (t) component of a transform. More...
|
|
std::string | printFrame (const KDL::Frame &frame) |
| Returns a string "[x, y, t]" of the translation (x, y) and rotation (t) component of a transform. More...
|
|
std::string | printVector (const Eigen::VectorXd &v, unsigned int precision=4) |
| Returns a string of a vector's contents. More...
|
|
std::string | printMatrix (const Eigen::MatrixXd &v, unsigned int precision=4) |
| Returns a string of a matrix's contents. More...
|
|
Helper functions for transform manipulation.