ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Read rosbag in python at timestamp

asked 2023-06-06 01:51:42 -0500

dev4all12358 gravatar image

Hello,

I use python and and want to read rosbag data at the data timestamp. Is there a routine to do that or should I generate delay after each read corresponding to the duration to the next timestamp ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2023-06-06 07:18:17 -0500

Mike Scheutzow gravatar image

If you are asking how to publish messages stored in a rosbag file in "real time" using the rosbag API, then yes, your code must insert an appropriate delay between read calls.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2023-06-06 01:51:42 -0500

Seen: 59 times

Last updated: Jun 06 '23