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

🐛 Fix the robot visualization when the dataset contains signals retrieved at different frequencies #72

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

GiulioRomualdi
Copy link
Member

This PR addressed #71. The problem identified in #71 was caused by a discrepancy in the data collection frequencies—image signals were captured at 30fps, while joint data was recorded at 100Hz. In this specific dataset, we encountered an unfortunate situation where the initial timestamp of the camera data was lower than the first timestamp of the joints. Consequently, the visualizer erroneously used the camera timestamps as the base timestamp for the entire dataset.

To resolve this issue, the PR introduces a fix that computes the correct time joint index based on the common timestamps used by the visualizer. This ensures proper synchronization and resolves the problems observed in #71.

@GiulioRomualdi
Copy link
Member Author

@paolo-viceconte let me know if you are fine with this PR :)

@paolo-viceconte
Copy link
Collaborator

Yes, it loogs good to me. Also given the test mentioned in #71 (comment), I guess we can merge.

@GiulioRomualdi GiulioRomualdi merged commit dc03ebd into main Nov 15, 2023
9 checks passed
@GiulioRomualdi GiulioRomualdi deleted the robot_visualization_freq branch November 15, 2023 17:01
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

Successfully merging this pull request may close these issues.

2 participants