update variables

This commit is contained in:
Björn Ellensohn 2023-08-08 11:37:57 +02:00
parent c5fcbc119b
commit e37ff52bfb

View File

@ -80,6 +80,8 @@ services:
# Networking and IPC for ROS 2 # Networking and IPC for ROS 2
network_mode: host network_mode: host
ipc: host ipc: host
environment:
- ROS_DOMAIN_ID=5
# Controller # Controller
controller: controller:
@ -100,6 +102,8 @@ services:
privileged: true privileged: true
# depends_on: # depends_on:
# - robot_state_publisher # - robot_state_publisher
environment:
- ROS_DOMAIN_ID=5
# teleop # teleop
teleop: teleop:
@ -116,6 +120,8 @@ services:
ipc: host ipc: host
# Needed to display graphical applications # Needed to display graphical applications
privileged: true privileged: true
environment:
- ROS_DOMAIN_ID=5
# lidar # lidar
lidar: lidar:
@ -129,6 +135,8 @@ services:
ipc: host ipc: host
depends_on: depends_on:
- robot_state_publisher - robot_state_publisher
environment:
- ROS_DOMAIN_ID=5
# mapping # mapping
mapping: mapping:
@ -141,6 +149,8 @@ services:
# Networking and IPC for ROS 2 # Networking and IPC for ROS 2
network_mode: host network_mode: host
ipc: host ipc: host
environment:
- ROS_DOMAIN_ID=5
# navigation # navigation
navigation: navigation:
@ -153,6 +163,8 @@ services:
# Networking and IPC for ROS 2 # Networking and IPC for ROS 2
network_mode: host network_mode: host
ipc: host ipc: host
environment:
- ROS_DOMAIN_ID=5
# bash # bash
bash: bash:
@ -189,6 +201,7 @@ services:
- DISPLAY=${DISPLAY} - DISPLAY=${DISPLAY}
- QT_X11_NO_MITSHM=1 - QT_X11_NO_MITSHM=1
- NVIDIA_DRIVER_CAPABILITIES=all - NVIDIA_DRIVER_CAPABILITIES=all
- ROS_DOMAIN_ID=5
volumes: volumes:
# Allows graphical programs in the container. # Allows graphical programs in the container.
- /tmp/.X11-unix:/tmp/.X11-unix:rw - /tmp/.X11-unix:/tmp/.X11-unix:rw