ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

The key is the const Affine3d& in your error. It's hard to tell without a complete code snippet, but it seems like the compiler thinks that end_effector_state is constant, and there isn't a function call that takes a const Affine3d&, only one that takes an Affine3d&. Your solution would be to initialize a different variable that isn't const and use that instead.

Eigen::Affine3d end_effector_mutable;
tf::poseMsgToEigen(end_target, end_effector_mutable);