diff --git a/docker-compose.yaml b/docker-compose.yaml index 9ced3e8..68ac8c8 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -39,12 +39,13 @@ services: # Controller and teleop controller: extends: overlay - command: - - ros2 launch bot_mini_bringup robot_controller.launch.py - - priority:=80 cpu-affinity:=4 lock-memory-size:=100 config-child-threads:=True - - | - ros2 launch bot_mini_bringup robot_twist_mux.launch.py - ros2 launch bot_mini_bringup robot_joy_teleop.launch.py + command: > + bash -c " + ros2 launch bot_mini_bringup robot_controller.launch.py + priority:=80 cpu-affinity:=4 lock-memory-size:=100 config-child-threads:=True + && ros2 launch bot_mini_bringup robot_twist_mux.launch.py + && ros2 launch bot_mini_bringup robot_joy_teleop.launch.py + " devices: - /dev/ttyUSB0:/dev/ttyUSB0 - /dev/ttyACM0:/dev/ttyACM0