How to use tf::poseMsgToEigen
Hi, I'm kind of confused on how I should use tf::poseMsgToEigen. I have
#include <tf/tf.h>
#include <tf/transform_listener.h>
#include <eigen_conversions/eigen_msg.h>
and
tf::TransformListener *tf_listener = NULL;
tf::poseMsgToEigen(end_target, end_effector_state);
end_target is in geometry_msgs::Pose and end_effector_state should be in the eigen form as the documentation suggests but I keep getting error such as:
no matching function for call to ‘poseMsgToEigen(geometry_msgs::Pose&, const Affine3d&)’