SkoltechRobotics / rplidar

Python module for RPLidar A1 and A2 rangefinder scanners
MIT License
187 stars 126 forks source link

Descriptor Length Mismatch #31

Closed lukebelz closed 4 years ago

lukebelz commented 4 years ago

Trying to get start out with the get info function. And I keep getting this error. I installed the driver for the cP210x and I have '/dev/tty.SLAB_USBtoUART' as my device which is what I found from the IORegistry and also in the Dev folder.

On a mac running the latest OS. Python and everything else is the latest version. I tried different baud rates but no luck. Any Ideas?

lukebelz commented 4 years ago

Problem solved: The issue was the cable into the rplidar was disconnected. So the usb to cp210x was good, but the cp210x to usb was not.

If you encourter this problem, unscrew the 2 screws on the bottom of the rplidar puck and check that the cable is still plugged into the pcb.