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

Appending on @130s answer:

In package.xml you need the lines:

  <build_depend>message_generation</build_depend>
  <run_depend>message_runtime</run_depend>

In CMakeLists.txt you need:

find_package( catkin REQUIRED COMPONENTS message_generation <.... other packages.....> ) 
# note: no message_runtime in find_package

And please note that this Q&A forums language should be English. This assures that all people knowing how to solve your issue can understand you question and post an answer...