rosbag2video icon indicating copy to clipboard operation
rosbag2video copied to clipboard

Implemented Dockerisation + Direct Sqlite3 Extraction for ROS 2 Bag Folders

Open cardboardcode opened this issue 4 months ago • 1 comments

Purpose of Pull Request :bookmark:

This aims to address issues #21 and #22.

It addresses issue 22 by allowing rosbag2video.py and ros2bag2video.py to run within docker containers. By doing so, there should no longer any environment conflict issues regardless of what version of x86 Ubuntu or Linux-based Operating system the user may be running the scripts in.

  • rosbag2video.py is currently based in ROS 1 Noetic. :green_circle:
  • ros2bag2video.py is currently based in ROS 2 Humble. :green_circle:

It addresses issue 21 by revamping the approach of saving image to read the ROS 2 bag folder .db3 file and its corresponding metadata.yaml file directly. By doing so, this would prevent messages from being dropped, causing the hanging script behaviour.

Summary :books:

  • Elaborated root README.md to reflect the new implement and docker features.
  • Added Dockerfile.ros1 and Dockerfile.ros2 files in root.
  • Replaced ros2bag2video.py with direct extraction from sqlite3, instead of using previous approach of reading from ROS 2 topic.

cardboardcode avatar Oct 12 '24 14:10 cardboardcode