[ros-users] rosbag playback speed

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Daniel Grollman
Date:  
To: ros-users
Subject: [ros-users] rosbag playback speed
Hello,

    I've noticed some odd behavior with rosbag.  I'm generating data at
500hz, and recording a bag.  However, when playing back the bag, only a
fraction of the messages reach my callback.  I believe that rosbag is
'bursting' the messages, i.e., sporadically sending them at much faster
than 500 Hz, so they are then getting lost as my queue size is only 1
(which is what I want).


I'm running ros 1.0.4, and ubuntu 9.10. I've put together a little demo
of this issue, code is here:

http://lasa.epfl.ch/~dang/rosbag_test.tar.gz

Thank you,

Dan Grollman
EPFL