ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The post above was confused by http://answers.ros.org/question/10276/rosjavapure-pubsub-tutorial/ which probably refers to an older version where this was possible.
The getting started guide of rosjava here: http://docs.rosjava.googlecode.com/hg/rosjava_core/html/getting_started.html#messages
explains how to instantiate messages using a factory. All messages are interfaces on purpose.