ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Not able to run XV 11 lidar

asked 2016-04-08 14:33:32 -0500

krishna43 gravatar image

updated 2016-04-08 14:48:50 -0500

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 xv_11_laser_driver neato_laser_publisher _port:=/dev/ttyUSB0 _firmware_version:=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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-04-08 22:47:04 -0500

jseal gravatar image

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.

edit flag offensive delete link more

Comments

I just did it, but i didn't find any difference. I got the same output before and after connecting the device.

krishna43 gravatar image krishna43  ( 2016-04-08 23:07:11 -0500 )edit

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

jseal gravatar image jseal  ( 2016-04-08 23:41:00 -0500 )edit

This is the output i got when i executed the above commands:

296a297

189:10

I have no idea what those two numbers means.

krishna43 gravatar image krishna43  ( 2016-04-09 00:17:29 -0500 )edit

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?

krishna43 gravatar image krishna43  ( 2016-04-09 01:03:02 -0500 )edit
1

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?

jseal gravatar image jseal  ( 2016-04-09 15:39:42 -0500 )edit

on the 296a297, diff is reporting that one line was added between the two temp files on line 297. Mine reports `130a131

/dev/ttyACM0`

jseal gravatar image jseal  ( 2016-04-09 15:47:09 -0500 )edit

Thank you very much, it's working now. :)

krishna43 gravatar image krishna43  ( 2016-04-09 18:32:36 -0500 )edit

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
GT gravatar image GT  ( 2016-10-22 02:13:58 -0500 )edit

Question Tools

Stats

Asked: 2016-04-08 14:33:32 -0500

Seen: 550 times

Last updated: Apr 08 '16