alexsazo / rosjava

Automatically exported from code.google.com/p/rosjava
0 stars 0 forks source link

Creating composite rosjava messages without a Node is difficult #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I am currently designing material for a university course using rosjava. As 
described on rosanswers 
(http://answers.ros.org/question/41336/creating-composite-rosjava-messages-witho
ut-a-node/), since the API change around April, it is now somewhat difficult 
for beginners to create and populate composite messages (e.g. a Twist 
containing a Vector3) due to the requirement to create MessageFactories for 
each sub-message.

This is even more difficult when there is no Node present in the current class; 
a DefaultNodeFactory needs to be created, then a DefaultNode instantiated, and 
only then can its MessageFactories be used to create Messages.

One of the responses to my rosanswers question suggested I should raise a 
ticket here to see if we can figure out some way of making things easier for 
the students. Would this be possible?

Original issue reported on code.google.com by m...@tamias.co.uk on 15 Aug 2012 at 4:19

GoogleCodeExporter commented 9 years ago
See the the ROS Answers post above for my suggestions.

Original comment by damonkoh...@google.com on 16 Aug 2012 at 7:54