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

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

asked 2018-07-17 10:40:56 -0500

Hakaishin gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-18 00:59:25 -0500

mgruhler gravatar image

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.

edit flag offensive delete link more

Question Tools


Asked: 2018-07-17 10:40:56 -0500

Seen: 182 times

Last updated: Jul 18 '18