-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexError: index out of range #6
Comments
不知道 |
first, change the baudrate to 115200. |
my rplidar a1 device doesn't work on win10 paltdorm, but with the same code(change the port from COM3 to /dev/ttyUSB0), it works on deepin os. |
Make sure your LED goes green. You need to install the CP210x USB to UART bridge driver. The driver install is available in their SDK .zip. Verify everything works using frame_grabber.exe first. |
Anyone have luck fixing this issue in Windows? I have the exact same problem. A1 lidar works fine in Slamtec's frame_grabber, but fails with "index out of range" with this library. That seems to indicate that there is no data being sent by the device over the serial port. |
On Windows 10, modifying a file the pyrplidar_serial.py from library helps. |
Tried, but it did not solve the problem. |
Anyone who solved this problem? |
I am trying to connect the RPLIDAR A1 to my windows laptop and am receiving this error:
Here is the code I am using:
Anyone have an idea what could be causing this?
The text was updated successfully, but these errors were encountered: