Sophisticated as this question is, I think it is still serviceable via <a href="http://answers.ros.org/questions/">http://answers.ros.org/questions/</a><div><br></div><div>For part 1):</div><div><br></div><div>Not sure, potentially if the code that deserializes was generated for an ARM target.  Maybe some else can comment on this.</div>

<div><br></div><div>For part 2):</div><div><br></div><div>The message type '<pkg>/<MessageName>', the actual message definition, and the md5sum of the message are all part of the data being sent in the serialized data. See:</div>

<div><br></div><div><a href="http://www.ros.org/wiki/ROS/TCPROS">http://www.ros.org/wiki/ROS/TCPROS</a></div><div><a href="http://www.ros.org/wiki/ROS/Connection%20Header">http://www.ros.org/wiki/ROS/Connection%20Header</a></div>

<div><br></div><div>This is how, from what I understand, rosbag can record and republish ros topic data with out linking to any message type headers, because it never actually deserializes anything, similarly your proxies can forward the data in its serialized form without ever knowing the type and ros nodes on the other side can still determine the type and then deserialize the data.</div>

<div><br></div><div>--</div><div><br clear="all">~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>William Woodall<br>Graduate Software Engineering<br>Auburn University<br><a href="mailto:w@auburn.edu" target="_blank">w@auburn.edu</a><br>

<a href="mailto:wjwwood@gmail.com" target="_blank">wjwwood@gmail.com</a><div><a href="http://williamjwoodall.com" target="_blank">williamjwoodall.com</a><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div><br>
<br><br><div class="gmail_quote">On Mon, Jul 2, 2012 at 2:20 PM, Karan, Cem F CIV (US) <span dir="ltr"><<a href="mailto:cem.f.karan.civ@mail.mil" target="_blank">cem.f.karan.civ@mail.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi all, I'm trying to pass data between multiple robots in a manner<br>
similar to what multimaster (<a href="http://ros.org/wiki/multimaster" target="_blank">http://ros.org/wiki/multimaster</a>) is/was<br>
supposed to do, but after some work, I've realized that what I'm really<br>
trying to do is proxy messages from one robot to another.  I can do this<br>
by grabbing a message and asking it for its serialized representation, and<br>
then rsyncing that across the network, but I realized that that leaves 2<br>
potential problems:<br>
<br>
1) I don't know how portable the serialization format really is.  Can I<br>
take a message that was serialized on a little endian 32 bit machine (x86)<br>
and forward it to a big endian 16 bit machine (ARM), and have the data be<br>
correctly serialized/deserialized?  I know I can do this via google<br>
protocol buffers (<a href="https://developers.google.com/protocol-buffers/" target="_blank">https://developers.google.com/protocol-buffers/</a>) or<br>
MessagePack (<a href="http://msgpack.org/" target="_blank">http://msgpack.org/</a>), but I'm not too sure if I can do this<br>
with serialized message format that ROS uses.<br>
<br>
2) Is the message type encoded into the serialized data?  It doesn't<br>
appear so, but I just wanted to make sure.  This affects what kind of<br>
proxy I can make; if the message type is encoded in the message, then the<br>
proxy can be oblivious to messages, and will simply forward the data<br>
along.  The receiver can likewise be oblivious, putting the message 'on<br>
the bus' and letting all listeners decode what they want.  Conversely, if<br>
the messages don't encode their own type, then the proxies will need to<br>
know every message type that they encode; otherwise, the receivers won't<br>
be able to put the right message type 'on the bus'.<br>
<br>
Any help/pointers would be appreciated.<br>
<br>
Thanks,<br>
Cem Karan<br>
<br>
_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</blockquote></div><br></div>