urdf_utils.h
Go to the documentation of this file.
1 #pragma once
2 
11 #include <Eigen/Geometry>
12 
13 #include <urdf_model/pose.h>
14 
15 namespace cras
16 {
17 
23 ::Eigen::Translation3d toEigen(const ::urdf::Vector3& position);
24 
30 ::Eigen::Quaterniond toEigen(const ::urdf::Rotation& rotation);
31 
37 ::Eigen::Isometry3d toEigen(const ::urdf::Pose& pose);
38 
44 ::urdf::Vector3 toURDF(const ::Eigen::Translation3d& translation);
45 
51 ::urdf::Vector3 toURDF(const ::Eigen::Vector3d& vector);
52 
58 ::urdf::Rotation toURDF(const ::Eigen::Quaterniond& rotation);
59 
65 ::urdf::Pose toURDF(const ::Eigen::Isometry3d& pose);
66 
67 }
cras
Definition: any.hpp:15
cras::toURDF
::urdf::Vector3 toURDF(const ::Eigen::Translation3d &translation)
Convert Eigen translation to URDF Vector3.
cras::toEigen
::Eigen::Translation3d toEigen(const ::urdf::Vector3 &position)
URDF Vector3 to Eigen translation.


cras_cpp_common
Author(s): Martin Pecka
autogenerated on Sun Jan 14 2024 03:48:14