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

Revision history [back]

Not sure if the same cause but I also got the same error. When you add a new msg type in the interface definition, you also need to add the dependency in the CMakeLists.txt file. Check this source code for example: link text

Specifically, add the dependencies of your msg after: rosidl_generate_interfaces( ... DEPENDENCIES geometry_msgs etc...)