rapid
A ROS robotics library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
eigen_conversions.h
Go to the documentation of this file.
1 #ifndef _RAPID_UTILS_EIGEN_CONVERSIONS_H_
2 #define _RAPID_UTILS_EIGEN_CONVERSIONS_H_
3 
4 #include "Eigen/Core"
5 #include "Eigen/Geometry"
6 #include "geometry_msgs/Quaternion.h"
7 
8 namespace rapid {
9 namespace utils {
10 void GeometryMsgToEigen(const geometry_msgs::Quaternion& in,
11  Eigen::Quaternionf* out);
12 void EigenToGeometryMsg(const Eigen::Quaternionf& in,
13  geometry_msgs::Quaternion* out);
14 } // namespace utils
15 } // namespace rapid
16 
17 #endif // _RAPID_UTILS_EIGEN_CONVERSIONS_H_
void EigenToGeometryMsg(const Eigen::Quaternionf &in, geometry_msgs::Quaternion *out)
void GeometryMsgToEigen(const geometry_msgs::Quaternion &in, Eigen::Quaternionf *out)