Re: [ros-users] rostopic pub and timestamps

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] rostopic pub and timestamps
You bring up a good point -- can you file a ticket? It's mainly an
implementation artifact right now, though easy enough to fix. I may
have time before we freeze ros_comm for 1.4.

- Ken

On Fri, Dec 3, 2010 at 10:31 PM, Patrick Bouffard
<> wrote:
> I'm not sure if this a bug or a 'feature', but I'm seeing that if I do
> something like:
>
> rostopic pub -r 50 /sometopic geometry_msgs/TransformStamped '{header:
> auto, child_frame_id: /bla, transform: {translation: {x: 0, y: 0, z:
> 0}, rotation: {x: 0, y: 0, z: 0, w: 1}}}'
>
> or
>
> rostopic pub -r 50 /sometopic geometry_msgs/TransformStamped '{header:
> {stamp: now, frame_id: foo}, child_frame_id: /bla, transform:
> {translation: {x: 0, y: 0, z: 0}, rotation: {x: 0, y: 0, z: 0, w:
> 1}}}'
>
> .. then the header timestamp is populated, but only with a single time
> (I guess the time the first message is sent). It would make more sense
> to me to have the timestamp change with every message. Is there a
> reason it doesn't?
>
> Thanks,
> Pat
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>