From 5716691ada4bd53447725ff0cc637c54f2d74361 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ellensohn?= Date: Mon, 31 Jul 2023 10:13:01 +0200 Subject: [PATCH] update --- docker-compose.yaml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docker-compose.yaml b/docker-compose.yaml index 7b06ac2..da30c8e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -57,7 +57,7 @@ services: network_mode: host ipc: host - # Controller and teleop + # Controller controller: extends: overlay command: > @@ -77,6 +77,24 @@ services: depends_on: - robot_state_publisher + # teleop + teleop: + extends: overlay + command: > + ros2 launch cps_rmp220_support robot_joystick.launch.py + devices: + - /dev/ttyUSB0:/dev/ttyUSB0 + - /dev/ttyACM0:/dev/ttyACM0 + - /dev/input/js0:/dev/input/js0 + # Interactive shell + stdin_open: true + tty: true + # Networking and IPC for ROS 2 + network_mode: host + ipc: host + # Needed to display graphical applications + privileged: true + # lidar lidar: extends: overlay