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

If you want to use message definitions on other machines you'll have to make the messages available on those other machines.

You cannot add_dependency() on files in workspaces on other machines.

The best way to make the messages available on other machines would be to create a stand-alone package that contains just the messages. Nothing more.

Then let any package that needs it depend on that message package.

On the other machines, place a copy of the package in their workspace (using something like Git is recommended for this), build the workspace and source it. You should now be able to use the messages on the other machines as well.