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

Instead of including the message file msg/customMsg.msg, you should be including the generated C++ header: anadyr/customMsg.h

Instead of including the message file msg/customMsg.msg, you should be including the generated C++ header: anadyr/customMsg.h

You may also need to add add_dependencies(anadyr ${catkin_EXPORTED_TARGETS}) to your CMakeLists.txt to make sure that the message generation is run before your program is compiled.