robot_state_publisher library does not include joint_state_listener [closed]
Hi all!
I'm using robot_state_publisher as a library linked to my project, and would like to use the joint_state_listener part in order to listen for joint states and publish tf. However, the JointStateListener class is not included in the library. This is from the CMakeLists.txt:
rosbuild_add_library(${PROJECT_NAME} src/robot_state_publisher.cpp src/treefksolverposfull_recursive.cpp)
Does anyone know if there is a reason why joint_state_listener is not included in librobot_state_publisher?
For now I have duplicated joint_state_listener.cpp in my project (removing the main()), but I guess including it in the library would be a better solution.
Sorry if I am missing something :(
Thanks!