-
Notifications
You must be signed in to change notification settings - Fork 20
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
Timeline mixup when running bagfile #232
Comments
I think I saw this when working on #223. Messages carry some simulated clock stamp but |
This is probably related to Bisecting with git the problem, it seems to have started after #211 when we refactored the bagfile and launchfiles. |
Ah, that was me. I did two things that might have caused this:
The motivation was being able to play ROS bags that don't have Seems like it was not the right approach, we can definitely revert the changes to the ROS bag. |
From my experience, you always must use |
Fixes #232. This patch fixes message timestamps and starting time in the rosbag to match the header stamps recorded with sim time. * The contents of the messages were not altered. * The last messages where there was a collision against one of the walls were deleted. Signed-off-by: Nahuel Espinosa <nespinosa@ekumenlabs.com>
Bug description
A few transforms and messages are getting stamped with unmatched timestamps, probably as a result of a mixup when the bagfile was generated.
As a result of this, amcl is publishing the map->odom tf in a totally different timescale than the odom->base and base->laser_front , causing RViz to fail to display the later.
See timestamps on the logs and on the two transforms on the right:
See timestamps on the /clock and /scan topics:
On RViz,
Platform (please complete the following information):
Beluga
version: ed7dfe3How to reproduce
List steps to reproduce the issue:
cd /ws && colcon build && source install/setup.bash && ros2 launch beluga_example perfect_odometry.launch.xml
ros2 topic echo /tf
,ros2 topic echo /clock
,ros2 topic echo /scan
Code snippets or minimal examples are always helpful, if not necessary.
Expected behavior
All message timestamps to be consistent when running out of a demo and test bagfile.
Actual behavior
Timestamps are not consistent with a single timeline, and some information fails to be displayed as a result.
The text was updated successfully, but these errors were encountered: