[ros-users] header.seq field in geometry_msgs/Vector3Stamped not incrementing under C-Turtle

Josh Faust jfaust at willowgarage.com
Wed Sep 22 03:17:17 UTC 2010


>
>
> With the same code built under C-turtle, the Vector3Stamped header.seq
> fields are always zero. Note that the seq field within the 'toplevel'
> header field *does* increment as before, and as before this field is
> also not touched explicitly by my code.
>

This was a bug in the boxturtle roscpp message generator.  Only the
top-level header was ever supposed to get automatically populated.


> Also, when seq does get incremented
> automatically, how does this happen? When the message is published?
>

Yes.  If you're using your own message I would recommend not using the seq
field at all, and instead populating your own field.

Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100921/bd1aba5a/attachment-0003.html>


More information about the ros-users mailing list