when I play rosbags, sometimes I feel that the whole timestamp / clock /use_sim_time is hard to grasp and has many pitfalls and corner cases where it doesn’t work.
When I use rosbag play --clock and set the rosparam use_sim_time=true things work 90% of the time, but occasionally, especially with TF, this approach seems to be unreliable.
Am I the only one that had this kind of problems? Am I missing something?
I would like to implement an additional option for rosbag play to change the Header/stamp field of each message to avoid the simulated clock.
I am not asking if this is technically feasible (because I know how to implement it), I wonder if this is even desirable and if the community would find it useful; as I said, maybe the rest of the community is just happy with the default approach.