Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To fix the problem, I had to :

Put my learning_tf folder in my catkin_ws/src folder. Paste my turtle_tf_broadcaster.cpp file in the learning_tf/src folder.

Add :

add_executable(turtle_tf_broadcaster src/turtle_tf_broadcaster.cpp)
target_link_libraries(turtle_tf_broadcaster ${catkin_LIBRARIES})

In my CMakeLists.txt file in the learning_tf folder.

And finally use $ catkin_make command in the catkin_ws folder !