Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented Dockerisation + Direct Sqlite3 Extraction for ROS 2 Bag Folders #42

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

cardboardcode
Copy link
Collaborator

@cardboardcode cardboardcode commented Oct 12, 2024

Purpose of Pull Request 🔖

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. 🟢
  • ros2bag2video.py is currently based in ROS 2 Humble. 🟢

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 📚

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

…r .db3 file directly for ROS2 bag files.

Signed-off-by: Bey Hao Yun <[email protected]>
…alues. Yet to make it more user-friendly.

Signed-off-by: Bey Hao Yun <[email protected]>
…y inputs. Adhering to parent repo's argument format.

Signed-off-by: Bey Hao Yun <[email protected]>
… unused fps commandline argument.

Signed-off-by: Bey Hao Yun <[email protected]>
…ker. Verified to run successfully with local ROS 1 bag file.

Signed-off-by: Bey Hao Yun <[email protected]>
…ing in docker with upgraded ROS 2 script.

Signed-off-by: Bey Hao Yun <[email protected]>
…ntains messages that are compressed or not.

Signed-off-by: Bey Hao Yun <[email protected]>
@mlaiacker
Copy link
Owner

Thanks for all the work. looking forward for your pull request

@cardboardcode cardboardcode marked this pull request as ready for review October 26, 2024 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants