diff --git a/docker-compose.yaml b/docker-compose.yaml index 6573daf..13a922a 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -89,9 +89,9 @@ services: controller: extends: base command: > - ros2 run segwayrmp SmartCar --ros-args -r cmd_vel:=cmd_vel_out -p serial_full_name:=usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 + ros2 run segwayrmp SmartCar --ros-args -r cmd_vel:=cmd_vel_out -p serial_full_name:=/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 devices: - - /dev/ttyUSB0:/dev/ttyUSB0 + - /dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0:/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0 # Interactive shell stdin_open: true tty: true