Skip to content

Prebuild Docker image with Rviz and Nav2 plugin

License

Notifications You must be signed in to change notification settings

delihus/rviz2-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rviz2-docker

Building a Docker image with RViz2 and Nav2 plugin.

Available for ROS distros:

  • ROS 2 galactic
  • ROS 2 humble

Create the following compose.yaml file:

version: "2.3"

services:
  rviz:
    image: husarion/rviz2
    network_mode: host
    ipc: host
    runtime: nvidia
    environment:
      - ROS_DOMAIN_ID=2
      - DISPLAY
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=all
    volumes:
      - /tmp/.X11-unix:/tmp/.X11-unix:rw
      - ./rosbot_pro.rviz:/root/.rviz2/default.rviz

And execute

xhost local:root
docker compose up

About

Prebuild Docker image with Rviz and Nav2 plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%