No version for distro humble showing github. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.

Repository Summary

Description
Checkout URI https://github.com/taeyoung96/multi-turtlebot3-gazebo-ros2.git
VCS Type git
VCS Version master
Last Updated 2023-08-06
Dev Status UNKNOWN
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

README

Multi-turtlebot3-Gazebo-ROS2

What’s New?

  • Multi turtlebot3 environment
  • Turtlebot3 with Velodyne VLP-16 environment
  • Multi turtlebot3 Velodyne VLP-16 environment

Result

Multi turtlebot3

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/89b961ef-96a2-440c-b406-d72db7ca710f

Turtlebot3 with Velodyne VLP-16

https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2/assets/41863759/4eb346fa-8b4e-4211-bf02-bcd098046fbb

Build docker image

docker pull tyoung96/multi-turtlebot-gazebo

Make docker container

On local terminal,

git clone https://github.com/Taeyoung96/Multi-turtlebot3-Gazebo-ROS2.git

xhost +local:docker

After that,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=${Multi-turtlebot3-Gazebo_repo_root}:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=${docker container name} \
           --env="DISPLAY=$DISPLAY" \
           ${docker image} /bin/bash

⚠️ You should change {Multi-turtlebot3-Gazebo_repo_root}, {docker container name}, {docker image} to suit your environment.

For example,

nvidia-docker run --privileged -it \
           -e NVIDIA_DRIVER_CAPABILITIES=all \
           -e NVIDIA_VISIBLE_DEVICES=all \
           --volume=/home/taeyoung/Desktop/Multi-turtlebot3-Gazebo-ROS2:/root/workspace/src \
           --volume=/tmp/.X11-unix:/tmp/.X11-unix:rw \
           --net=host \
           --ipc=host \
           --name=multi-turtlebot-gazebo \
           --env="DISPLAY=$DISPLAY" \
           --env="QT_X11_NO_MITSHM=1" \
           tyoung96/multi-turtlebot-gazebo:latest /bin/bash

Build and run it!

When you run the container, it looks like this

root@taeyoung-cilab:/#

Enter them in turn to proceed with the build.

cd root/workspace/

colcon build

export TURTLEBOT3_MODEL=burger

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:/root/workspace/src/turtlebot3_simulations/turtlebot3_gazebo/models/

``` source install/setup.bash

File truncated at 100 lines see the full file