ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Thanks gvdhoorn
The missing dependencies were in the CMakeLists.txt In the turtlebot_arm_block_manipulation/CMakeLists, two scripts are commented and not compiled to executables, with a "TODO" mention. I uncommented the declaration without adding the target_link_libraries(..) and add_dependencies(...) that are needed. It was like that :
# TODO need review
# add_executable(block_manipulation test/block_manipulation.cpp)
# add_executable(block_manipulation_actions test/block_manipulation_actions.cpp)
Should be like that :
add_executable(block_manipulation test/block_manipulation.cpp src/cear_move_gripper.cpp)
target_link_libraries(block_manipulation ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_dependencies(block_manipulation turtlebot_arm_block_manipulation_gencpp)
add_executable(block_manipulation_actions test/block_manipulation_actions.cpp src/cear_move_gripper.cpp)
target_link_libraries(block_manipulation_actions ${catkin_LIBRARIES} ${PCL_LIBRARIES})
add_dependencies(block_manipulation_actions turtlebot_arm_block_manipulation_gencpp)
Note that "src/cear_move_gripper.cpp" is a node I implemented to action the gripper.