Skip to content

husarion/rviz2-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 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:humble
    network_mode: host
    ipc: host
    runtime: nvidia
    volumes:
      - /tmp/.X11-unix:/tmp/.X11-unix:rw
      - ./rosbot_pro.rviz:/root/.rviz2/default.rviz
    environment:
      - ROS_DOMAIN_ID=2
      - DISPLAY
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=all

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