Sign inSign up

abmhamdi/ros2

By abmhamdi

•Updated 10 months ago

Everything you should know about ROS2:Humble

Image
Message queues
API management
Developer tools
0

722

abmhamdi/ros2 repository overview

⁠ROS 2: Humble Hawksbill

Note

You can either follow the steps detailed [here](https://docs.ros.org/en/humble/Installation.html) for local installation or use the provided `Docker` image for a containerized environment.

⁠Docker Setup

Codes run on top of a Docker image, ensuring a consistent and reproducible environment.

Important

You will need to have Docker installed on your machine. You can download it from the Docker website⁠.

To run the code, you will need to first pull the Docker image by running the following command:

docker pull abmhamdi/ros2

This may take a while, as the image contains projects' source code, ROS 2, and all necessary system dependencies.

⁠How to control the containers

  • Start the containers in detached mode:
docker compose up -d
  • Open an interactive bash session inside the ros2 service:
docker compose exec -it ros2 bash

You can build a specific package by using the colcon build command and specifying the package name:

colcon build --packages-select <package_name>
  • Stop and remove the containers:
docker compose down

⁠License

This project is licensed under the MIT License - see the LICENSE⁠ file for details.

Tag summary

Content type

Image

Digest

sha256:90e631447…

Size

1.2 GB

Last updated

10 months ago

docker pull abmhamdi/ros2