ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
First things first: The adhoc_communication
has to be catkinized, otherwise what you want will not work (as catkin packages can only depend on catkin packages, not rosbuild ones).
Assuming the above is the case, it probably is easiest to look at a somewhat similar example and make sure both your package containing the msg definitions and the one using them are not missing any required entries in both their package.xml
and CMakeLists.txt
files. One example I randomly found ist kobuki_msgs and kobuki_keyop with the first package providing the msg definition and the second one using it.