Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 2014-10-24 11:11:44 -0600

joq gravatar image

You can define messages in the same package with other programs.

If you do, message generation targets need to be built before any programs that depend on them. Every target that directly or indirectly uses one of your message headers must declare an explicit dependency:

add_dependencies(your_program ${${PROJECT_NAME}_EXPORTED_TARGETS})

See the catkin howto for more details.