Skip to content

Use time from msg to support replaying bag#144

Open
sciyen wants to merge 1 commit intonobleo:mainfrom
sciyen:main
Open

Use time from msg to support replaying bag#144
sciyen wants to merge 1 commit intonobleo:mainfrom
sciyen:main

Conversation

@sciyen
Copy link

@sciyen sciyen commented Nov 18, 2025

It will fail to retrieve the transformation for the sensor frame if we are replaying bag file, as described in
#143 This is caused by the time used to look up sensor frame, which is retrieved via frame_manager->getTime(), i.e., the current ros::time. However, if we are replaying a bag file, only transforms in the past are provided, causing an "extrapolation in the future" error.

It will fail to retrieve the transformation for the sensor frame if we
are replaying bag file, as described in
nobleo#143
This is caused by the time used to look up sensor frame, which is
retrieved via frame_manager->getTime(), i.e., the current ros::time.
However, if we are replaying a bag file, only transforms in the past are
provided, causing an "extrapolation in the future" error.
@Timple Timple force-pushed the main branch 2 times, most recently from 71451a5 to 829d19d Compare December 18, 2025 12:37
@Timple
Copy link
Member

Timple commented Jan 12, 2026

Run rviz with use_sim_time to True. And publish your rosbag with --clock.

That should solve things.

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