Not able to run XV 11 lidar
Hello,
I am trying to get data from xv 11 lidar, i am using UBUNTU 14.04, indigo version of ROS. I followed this tutorial:xv 11 lidar, but when ever i ran this command:
"rosrun xv11laserdriver neatolaserpublisher _port:=/dev/ttyUSB0 _firmwareversion:=2", I am getting the following error: "[ERROR] [1460143318.307618844]: Error instantiating laser object. Are you sure you have the correct port and baud rate? Error was open: No such file or directory".
This is the output of lsusb before connecting the LIDAR:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2a Intel Corp.
Bus 001 Device 003: ID 1bcf:2b8a Sunplus Innovation Technology Inc.
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
This is output of lsusb after connecting the lidar: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:0a2a Intel Corp.
Bus 001 Device 003: ID 1bcf:2b8a Sunplus Innovation Technology Inc.
Bus 001 Device 028: ID 16c0:0483 Van Ooijen Technische Informatica Teensyduino Serial
Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I am not sure what the problem is and i am a avid LINUX user. Any help is really appreciated.
Thanks
Asked by krishna43 on 2016-04-08 14:33:32 UTC
Answers
My XV-11 shows up as: /dev/ttyACM0
One technique is to do
ls /dev/tty*
with the device unplugged, then plug it in and do it again and find out what was added.
Asked by jseal on 2016-04-08 22:47:04 UTC
Comments
I just did it, but i didn't find any difference. I got the same output before and after connecting the device.
Asked by krishna43 on 2016-04-08 23:07:11 UTC
may try ls /dev/* > temp.txt to get all the devices, the plug it in and do ls /dev/* > temp2.txt Then diff temp.txt temp2.txt
Asked by jseal on 2016-04-08 23:41:00 UTC
This is the output i got when i executed the above commands:
296a297
189:10
I have no idea what those two numbers means.
Asked by krishna43 on 2016-04-09 00:17:29 UTC
I tried do it from a different computer. Here i found /dev/ttyACM0, But i am still getting the same error. Any insight into the problem?
Asked by krishna43 on 2016-04-09 01:03:02 UTC
Try this unplug it and plugging it back in, then do a dmesg, at the bottom it should show what device was added. Look for something like this cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device if it nothing shows up it might be problem with your hardware. Does the laser spin while plugged in?
Asked by jseal on 2016-04-09 15:39:42 UTC
on the 296a297, diff is reporting that one line was added between the two temp files on line 297. Mine reports `130a131
/dev/ttyACM0`
Asked by jseal on 2016-04-09 15:47:09 UTC
Thank you very much, it's working now. :)
Asked by krishna43 on 2016-04-09 18:32:36 UTC
Tanks Nice, after days of struggling my neato xv-11 laser is working :D
rosrun xv_11_laser_driver neato_laser_publisher _port:=/dev/ttyACM0
Asked by GT on 2016-10-22 02:13:58 UTC
Comments