ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Since undefined reference
indicates linker error in general in C
and C++
, you need to link your target to the appropriate libraries. Try adding the following to your CMakeLists.txt
:
target_link_libraries(joy_teleop_node ${catkin_LIBRARIES})