{"id":22746701,"url":"https://github.com/ga58lar/ros2-docker-example","last_synced_at":"2025-03-30T05:22:44.425Z","repository":{"id":201599833,"uuid":"700492142","full_name":"ga58lar/ros2-docker-example","owner":"ga58lar","description":"ROS2 Docker example","archived":false,"fork":false,"pushed_at":"2023-10-19T12:34:26.000Z","size":93097,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-05T07:29:29.251Z","etag":null,"topics":["docker","dockerfile","ros2","tutorial"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ga58lar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-04T17:39:53.000Z","updated_at":"2023-11-09T17:53:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"39b16fcc-fb95-434a-9429-8610a0c575d9","html_url":"https://github.com/ga58lar/ros2-docker-example","commit_stats":null,"previous_names":["ga58lar/ros2-docker-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ga58lar%2Fros2-docker-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ga58lar%2Fros2-docker-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ga58lar%2Fros2-docker-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ga58lar%2Fros2-docker-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ga58lar","download_url":"https://codeload.github.com/ga58lar/ros2-docker-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246278817,"owners_count":20751834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","dockerfile","ros2","tutorial"],"created_at":"2024-12-11T02:14:39.632Z","updated_at":"2025-03-30T05:22:39.414Z","avatar_url":"https://github.com/ga58lar.png","language":"Dockerfile","readme":"# Docker ROS2 Tutorial\n\nThis sample should show you how you can use Docker with ROS2 in the development and in the application.\n  \nIt will not guide you through every line of code (at least not yet), but should give you an inspiration on how to use docker for your module.  \nIt enables you to look up concepts of how to write a Dockerfile, how to build an image and how to run a container.\n\n## The concept\n\nThis sample uses the almighty KISS-ICP algorithm to localize our IAC racecar (raceboss) on the Monza F1 racetrack.  \nThe sample shows you how:  \n    - to set up a basic image with ROS2-humble  \n    - to set arguments (ARG)  \n    - to COPY code to your image  \n    - to MOUNT a directory, like ./data/ to your container  \n    - to run a command on start-up  \n\n## The content\n\n./data/ ... storage of sample data of the IAC @ Monza.  \n./docker/ ... bash files to build an image and run the container  \n./kiss-icp/ ... the clone of the KISS-ICP GitHub repository  \n./Dockerfile ... the build instructions for the docker image  \n\n## Prerequisites\n\nYou need following applications installed:  \n    - Docker\n\nPlease refer to the official installation instructions for above mentioned software.\n\n## How to run the sample\n\nFrom the root of this project:\n```sh\ntar xf data.tar.xz\nchmod +x docker/build.sh docker/run.sh\n./docker/build.sh\n./docker/run.sh\n```\n\nThis will build and run the content of this sample.  \nA seperate window with rviz2 should pop-up and you should see pointclouds and the localization path generated by KISS-ICP.\n\n## Running on a system with a NVIDIA GPU\n\nThis example will not work out of the box on computers with a NVIDIA GPU.  \nYou have to set additional flags in the run script.  \nPlease add following flags:  \n```sh\n    --gpus all\n    -e NVIDIA_DRIVER_CAPABILITIES=all\n    -e QT_X11_NO_MITSHM=1\n    --runtime=nvidia\n```\n\n## WIP\n\nThe sample will be expanded for .devcontainer setup in the future.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fga58lar%2Fros2-docker-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fga58lar%2Fros2-docker-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fga58lar%2Fros2-docker-example/lists"}