ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. 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.

  2. Yes; a package that contains only messages is fine, and it is the recommended practice for large projects.