This commit is contained in:
Björn Ellensohn 2023-07-25 12:02:17 +02:00
parent fe19ca1207
commit ba6236e607

View File

@ -117,33 +117,33 @@ services:
- /tmp/.X11-unix:/tmp/.X11-unix:rw - /tmp/.X11-unix:/tmp/.X11-unix:rw
- ${XAUTHORITY:-$HOME/.Xauthority}:/root/.Xauthority - ${XAUTHORITY:-$HOME/.Xauthority}:/root/.Xauthority
# navigation # # navigation
navigation: # navigation:
extends: overlay # extends: overlay
command: > # command: >
ros2 launch bot_mini_bringup robot_navigation.launch.py # ros2 launch bot_mini_bringup robot_navigation.launch.py
map_subscribe_transient_local:=true # map_subscribe_transient_local:=true
devices: # devices:
- /dev/ttyUSB0:/dev/ttyUSB0 # - /dev/ttyUSB0:/dev/ttyUSB0
- /dev/ttyACM0:/dev/ttyACM0 # - /dev/ttyACM0:/dev/ttyACM0
- /dev/input/js0:/dev/input/js0 # - /dev/input/js0:/dev/input/js0
# Interactive shell # # Interactive shell
stdin_open: true # stdin_open: true
tty: true # tty: true
# Networking and IPC for ROS 2 # # Networking and IPC for ROS 2
network_mode: host # network_mode: host
ipc: host # ipc: host
# Needed to display graphical applications # # Needed to display graphical applications
privileged: true # privileged: true
environment: # environment:
# Allows graphical programs in the container. # # Allows graphical programs in the container.
- DISPLAY=${DISPLAY} # - DISPLAY=${DISPLAY}
- QT_X11_NO_MITSHM=1 # - QT_X11_NO_MITSHM=1
- NVIDIA_DRIVER_CAPABILITIES=all # - NVIDIA_DRIVER_CAPABILITIES=all
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
- ${XAUTHORITY:-$HOME/.Xauthority}:/root/.Xauthority # - ${XAUTHORITY:-$HOME/.Xauthority}:/root/.Xauthority
# # Behavior demo using Python and py_trees # # Behavior demo using Python and py_trees
# demo-behavior-py: # demo-behavior-py: