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.
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