Ekumen-OS / andino

Open-source diff drive robot ROS 2 compatible
165 stars 45 forks source link

USB ports not being well fixed on Raspberry Pi #247

Closed JesusSilvaUtrera closed 4 months ago

JesusSilvaUtrera commented 4 months ago

Environment

Description

crw-rw---- 1 root dialout 188, 0 Sep  2 15:09 /dev/ttyUSB0
crw-rw---- 1 root dialout 188, 1 Sep  2 15:09 /dev/ttyUSB1
lrwxrwxrwx 1 root root         7 Sep  2 15:09 /dev/ttyUSB_ARDUINO -> ttyUSB0
lrwxrwxrwx 1 root root         7 Sep  2 15:09 /dev/ttyUSB_LIDAR -> ttyUSB1

Steps to reproduce

  1. Install Ubuntu 22.04 Mate on the Raspberry Pi
  2. Execute sudo apt update && sudo apt upgrade to upgrade the OS packages
  3. Follow the README.md of andino_hardware, section USB Port name configuration

Output

JesusSilvaUtrera commented 4 months ago

My bad, the problem was a typo when I copied one of the ids and I didn't notice earlier. I also discovered that there is a preset rule for the RPLiDAR, if you execute ls -l /dev | grep ttyUSB, you will see that there is a rplidar -> ttyUSB1 also.

Sorry for the inconveniences, I will now close the issue.