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?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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?
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: 2018-07-17 10:40:56 -0500
Seen: 173 times
Last updated: Jul 18 '18