Robotics StackExchange | Archived questions

Can I play a ros bag one message at a time?

I would like to play one message when I press enter and to be able to advance like this through my bag. Any built in method or hack to do this?

Asked by Hakaishin on 2018-07-17 10:40:56 UTC

Comments

Answers

No, not that I know of, and an option like that is also not documented.

You can use the rosbag API however, to achieve what you want. Take the second example on the linked page as a starting point. Basically, you'd only have to implement the wait-on-button-pressed part.

Asked by mgruhler on 2018-07-18 00:59:25 UTC

Comments