This commit is contained in:
Björn Ellensohn 2023-07-31 10:13:01 +02:00
parent ebd965670c
commit 5716691ada

View File

@ -57,7 +57,7 @@ services:
network_mode: host network_mode: host
ipc: host ipc: host
# Controller and teleop # Controller
controller: controller:
extends: overlay extends: overlay
command: > command: >
@ -77,6 +77,24 @@ services:
depends_on: depends_on:
- robot_state_publisher - 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
lidar: lidar:
extends: overlay extends: overlay