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

No you cannot have more than one message per msg file. The filename is the name of the message and everything inside of the file is the contents of the message.

This sounds a bit like an XY problem. I would suggest that you consider asking a new question with more context if this is something beyond an idle curiosity about the design.

For reference the format is defined here: http://wiki.ros.org/msg