Hello everyone, I am running ROS indigo on Raspberry Pi, I successfully installed ROSARIA
for Pioneer robot and openni2_camera
for Asus Xtion Live Pro, they both works well.
I successfully installed rplidar_ros
, the nodes are properly launched, but when I run
$ rostopic echo /scan
I can't see any output. I tried it on my PC(Ubuntu 14.04 LTS, x86_86), everything goes well. I also tried to run the demo of rplidar SDK, the output data is right. It is so strange, could you give me some advice to solve the problem?
Originally posted by krist on ROS Answers with karma: 3 on 2015-05-10
Post score: 0
Original comments
Comment by PT on 2015-07-14:
Hi, I encountered the same problem, and wondering whether you've found a solution yet? I connect rplidar to the Pi via usb. RPLidar health status : 0 (which means ok), but rostopic echo /scan shows nothing as you. Thanks
Comment by krist on 2015-07-15:
Yes, I've got the solution. Here is what I encountered, once I connect rplidar to my laptop, a new device /dev/ttyUSB0 will appear, however, when I tried to read data from it, /dev/ttyUSB0 disappears! This may cause the problem. You can check.
Comment by krist on 2015-07-15:
This may be an issue of Raspberry Pi. I use a USB hub, and solve the problem, so weired......
Comment by PT on 2015-07-15:
I see. thanks for your response. I tried to power the raspberry pi with a 2.1A usb battery pack, and it seems to work (more testing needed for its reliability), but not with 1A power supply. I think the issue might come down to whether we provide enough power or not.
Comment by PT on 2015-09-04:
Hi Krist, my solution with 2.1A usb battery pack is not very reliable. It's good sometimes, but not always. So, when you use the USB hub, do you connect them as battery > RPi > USB hub > RPLidar? Or do you have a 2nd battery pack to power the USB hub? Thanks
Comment by krist on 2015-09-04:
No, I don't have a 2nd battery.
Comment by PT on 2015-09-04:
hmmm, so a usb hub without additional power somehow works... interesting... let me give it a shot. thanks!