Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reported frequency of messages changes when bag is paused #20

Open
peci1 opened this issue Mar 26, 2024 · 1 comment
Open

Reported frequency of messages changes when bag is paused #20

peci1 opened this issue Mar 26, 2024 · 1 comment

Comments

@peci1
Copy link

peci1 commented Mar 26, 2024

When playing a bag with rosbag_fancy play --clock and /use_sim_time set to true, when I pause the bag, the frequency goes slowly down. This should not happen IMO as the interesting thing is sim-time frequency of messages and not real-time frequency.

@xqms
Copy link
Owner

xqms commented Mar 26, 2024

That is true - if I remember correctly, all displayed rates are based on wall time, not ROS time. Back then I designed the system for recording, not playback. In that case it seemed more relevant to report "real" frequencies, and, more importantly, bandwidths for analysis of the recording situation.

I guess especially in the playback situation ros::Time is more applicable.

I don't have the bandwidth to work on this in the near time. But PRs are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants