robot_state_publisher: treefksolverposfull_recursive.hpp error

asked 2021-04-28 08:17:08 -0500

nz gravatar image

updated 2022-05-23 09:11:59 -0500

lucasw gravatar image

Hi everyone,

I've been trying to follow this tutorial on forward kinematics for a kinematic tree using KDL library and robot state publisher:

https://github.com/airballking/kdl_tr...

I followed the instructions and installed all dependencies correctly, but when I try to build the package (using catkin_make), I get this error:

...kdl_tree_fk_tutorial/src/my_robot_state_publisher.cpp:4:10: fatal error: robot_state_publisher/treefksolverposfull_recursive.hpp: No such file or directory
 #include <robot_state_publisher/treefksolverposfull_recursive.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I don't think that the problem is with the tutorial, since I've tried including it manually. Unlike chainfksolverposfull_recursive.hpp which can be included with KDL, treefksolverposfull_recursive.hpp is not.

I've installed ros-melodic-robot-state-publisher, since I'm using ROS1 melodic, and it is configured since without error it can include <robot_state_publisher/robot_state_publisher.h> for example.

Has anyone faced this problem? Any idea would be very appreciated.

Let me know if you have been able to successfully use the treefksolverposfull_recursive.hpp and how did you included it.

Thank you.

edit retag flag offensive close merge delete