Slamtec / rplidar_ros

BSD 2-Clause "Simplified" License
497 stars 532 forks source link

Can not start scan: 80008002! #86

Open M8ias opened 2 years ago

M8ias commented 2 years ago

I am currently using a RPLidar A1 with a Raspberry Pi 4B and keep getting this error when i launch the ROS-node

[ INFO] [1653237839.801351212]: RPLIDAR running on ROS package rplidar_ros, SDK Version:2.0.0 [ INFO] [1653237839.850478884]: RPLIDAR S/N: E08CE7F2C1E29BF3C0E39EF6115F4936 [ INFO] [1653237839.850556255]: Firmware Ver: 1.15 [ INFO] [1653237839.850585624]: Hardware Rev: [ INFO] [1653237839.901918818]: RPLidar health status : OK. [ERROR] [1653237844.842084127]: Can not start scan: 80008002!

Some googling makes it seem like a power-issue, but after testing with three different usb-cables on the pi, as well as two separate computers the issue still persists. I guess all the usb cables may be awful, but it also seems like the ones with power issues got the error code [ERROR] [1653237844.842084127]: Can not start scan: 80008000!. Any tips on what the code means?

vivekmange56 commented 2 years ago

This code is generally for the Power requiremts. Is the lidar properly powered? There are 2 cables connected to the lidar, one for Data and one for power, if not connected try connecting it, Might get resolved

jcocovich commented 1 year ago

Actually, the model mentioned, I have the same one, is powered and communicates through an external converter card that is supplied with the scanner. Plugging this USB card in to the RPI4 USB port for power and communication. My RPI4 is powered through the GPIO pins from an onboard controller. I get this error all the time unless I power the RPI4 through the USB-c power connector. Seems to me to be a power issue but NOTHING works but the power supply. Doesn't make for a very portable device unless you have an extremely long extension cord. I don't believe this is how the RPLidar is supposed to work but I haven't found any intelligent responses anywhere yet. Good Luck. If my RPLidar reports a health status of OK, I EXPECT it to scan. Timing or noise is a possible rat hole I could pursue.

minhaj6 commented 1 year ago

i get the same error, using virtualbox on a recent huawei laptop.

knnurl commented 8 months ago

My rplidar a1m1 was working very well with me MSI laptop and I was able to see the laser scan in rviz. When I plugged it on RPi4, rplidar wasn't sending out any data and I rplidar sdk gave the following error:

theta: 359.99 Dist: 16383.75 S theta: 359.99 Dist: 1073741824.00 Error, cannot grab scan data.

Some people recommended changing connection cables but it only made the case worse for me, if not better. With another cable and rplidar sdk command:

./simple_grabber --channel --serial /dev/ttyUSB0 115200, I had the following error:

Error, unexpected error, code: 80008004 Segmentation fault (core dumped)

I'm about to give up on this until I get back to my laptop.

deyouslamtec commented 7 months ago

It is recommended to use a high-power power adapter to power Raspberry Pi 4

COSIME56 commented 6 months ago

84