ros-visualization / rqt_bag

http://wiki.ros.org/rqt_bag
29 stars 53 forks source link

Enable recording for ROS2 #87

Closed mjeronimo closed 3 years ago

mjeronimo commented 3 years ago

This PR implements recording for ROS2. Subsequently, it should be possible to replace almost all of this code with a call to rosbag2_transport_py.record provided we add the ability to receive a callback upon a write so that we can populate the bag timeline in the UI. That will also have the benefit of uniformity with ros2 bag record. Also, it should be possible to eliminate the Rosbag2 class by adding any missing functionality to the rosbag_reader and/or rosbag_writer classes. These will be the next two steps for rqt_bag on ROS2.

Signed-off-by: Michael Jeronimo michael.jeronimo@openrobotics.org