Ask Your Question
0

MY RPlidar stopped spinning and sending data

asked 2015-07-07 10:36:49 -0500

Will Phoenix gravatar image

updated 2015-07-13 11:18:31 -0500

i have an Arduino Leonardo and the RPLidar. I also have a RGB shield attached to it. I got the liar to spin on windows but have recently just changed to macintosh and it isn't spinning anymore. The code loads in fine through arduino but there is no output just 0's. /Users/williamphoenix/Desktop/Screen Shot 2015-07-07 at 11.23.37 AM.png Here is a screen shot of my error on my program.

I also have loaded many others onto the board and none of them seem to get the liar going and spitting back data.

Thank you

Sorry Just Starting out on this and trying new things

Idk how else toe the image into the blog it says that i need 5 of something.

The error is /Users/williamphoenix/Documents/Arduino/libraries/RPLidarDriver/RPLidar.h:56:10: note: no known conversion for argument 1 from 'Serial_' to 'HardwareSerial&' no matching function for call to 'RPLidar::begin(Serial_&)'

As well as i have loaded a few of the Arduino written libraries into my Arduino leonardo which is connected to my RPlidar and it doesn't spin anymore but the green LED is lighting up along with the board is responding but the liar will not spin

edit retag flag offensive close merge delete

Comments

can you please host the image somewhere else? also, please provide a more thorough explanation of the error, so that we might be able to help.

mgruhler gravatar image mgruhler  ( 2015-07-10 01:27:05 -0500 )edit

Sorry Just Starting out on this and trying new things

Idk how else toe the image into the blog it says that i need 5 of something.

The error is /Users/williamphoenix/Documents/Arduino/libraries/RPLidarDriver/RPLidar.h:56:10: note: no known conversion for argument 1 from 'Serial_' to 'HardwareSeria

Will Phoenix gravatar image Will Phoenix  ( 2015-07-13 09:16:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-07-13 10:44:44 -0500

updated 2015-07-13 11:26:53 -0500

Every time I open the serial of my rplidar here without the ROS node it does the same, it stops spinning.
I guess there the serial adapter somehow controls the reset line using the hardware signals RTS/CTS.

You should maybe check to not interfere with them, maybe the reset line of the LIDAR is pulled to reset or not connected or has a lose contact...


If you use them seperately (e.g. USB serial interfaces):

Maybe you opened the wrong serial I guess Arduino and RPLidar register to the same kind of device names /dev/ttyACM0 (maybe your Arduino Software opened the one of the RPLidar)

Replug both and check with dmesg which one is Arduino and which one is RPLidar

Regards

Christian

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-07-07 10:36:49 -0500

Seen: 859 times

Last updated: Jul 13 '15