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

This is probably a bad idea, because there's no way to query for "all messages" in the ROS ecosystem, and users who have unreleased messages will still have to do their own message generation.

The two current approaches I've seen that work well are:

  • roscpp/rospy/roslisp approach: the rospy, roscpp and roslisp message generators are very lightweight, and are incorporated into the core message_generation package, so roscpp, rospy and roslisp messages are generated as part of the default message generation. If your message generation is simple and lightweight, you could petition to get it included here.
  • rosjava approach: rosjava is packaged and distributed separately through a maven repository (pretty standard for Java packages). Their build system generates a jar (package) for each message package, and they distribute compiled versions of the core messages. If a user is using core messages, the Java build system grabs them from the repository, otherwise they're built locally.