ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It looks like you have most of your packages set up correctly, however you should be putting the add_dependencies
line in the CMakeLists.txt for your other packages, NOT in your custom_msg_pkg. This allows you to explicitly declare that a particular binary in a dependant package depends on the generation of your custom messages.
Yes; a package that contains only messages is fine, and it is the recommended practice for large projects.