I am trying to get the A1 lidar working on a tx2
I successfully modded the kernel to add the cp210x driver and the device shows up on ttyUSB0.
[ 4517.886970] usb 1-2.2: new full-speed USB device number 11 using xhci-tegra
[ 4517.982180] usb 1-2.2: New USB device found, idVendor=10c4, idProduct=ea60
[ 4517.989232] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4517.996875] usb 1-2.2: Product: CP2102 USB to UART Bridge Controller
[ 4518.003492] usb 1-2.2: Manufacturer: Silicon Labs
[ 4518.008372] usb 1-2.2: SerialNumber: 0001
[ 4518.016242] cp210x 1-2.2:1.0: cp210x converter detected
[ 4518.025920] usb 1-2.2: cp210x converter now attached to ttyUSB0
None of the programs I try to use the device with work though.
Rplidar-ros node dies quietly when I run it.
The python rplidar gives me the following error
Traceback (most recent call last):
File “test.py”, line 4, in
info = lidar.get_info()
File “/usr/local/lib/python2.7/dist-packages/rplidar.py”, line 211, in get_info
dsize, is_single, dtype = self._read_descriptor()
File “/usr/local/lib/python2.7/dist-packages/rplidar.py”, line 187, in _read_descriptor
raise RPLidarException(‘Descriptor length mismatch’)
rplidar.RPLidarException: Descriptor length mismatch
Everything I have tried works with my lidar on a normal x86 machine and the dmesg looks identical.
Has anyone experienced this?