How to play and pause bagfile within the program?
Hello.
I would like to play and pause bagfile by joypad.
When I type "rosbag play example.bag" in a ternimal, example.bag is played and when I press space key, the bagfile is paused.
I could play example.bag within the program, however, couldn't pause it.
Will you please tell me how to do it or are there other ways to realize it?