<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
<br>
</div>I don't know Dejan's use-case, but we frequently want to visualize<br>
short snippets of sensor data repeatedly. Although rviz seems to<br>
handle that correctly, rosbag does not provide an option to repeat the<br>
data. That would be handy, but (as Dan mentioned) respawning rosbag or<br>
calling it in a  shell while loop does work.<br>
<br>
Adding looping to "rosbag --clock" would allow it to publish the<br>
/reset_time when needed.<br></blockquote><div><br>rviz has explicit handling of backwards time jumps for this case.  I generally do a bash loop, i.e.:<br>while true; do rosbag play --clock <bagfile; done<br> </div><br>

</div>