Cannot use the XV 11 Lidar Neato
Hi, I am trying to use the XV 11- Neato Lidar, but it is not working. I am using the Ros Kinetic on Ubunto 16.04. I followed this tutorial: http://wiki.ros.org/xv_11_laser_drive..., but when I run:
rosrun xv_11_laser_driver neato_laser_publisher port_:=/dev/ttyACM0
I get the following error: [ERROR] [1582038870.703246684]: Error instantiating laser object. Are you sure you have the correct port and baud rate? Error was open: No such file or directory
I am using a power source of 3.0 V for the Motor and a another 5V power for the Lidar. I am receiving the data on an arduino Uno and sending to the serial for my computer. I know I am receiving data of the arduino, because I can read it from the serial.
But I cannot use the ros driver and I want some help on using it, do you guys have any suggestion?
can you please try to run
cat /dev/ttyACM0
andcat /etc/udev/rules.d/52-ftdi.rules
and post the output of both.Outputs:
cat /dev/ttyACM0 48 12 0 53 0 236 10 250 151 0 53 0 53 0 130 52 5
cat /etc/udev/rules.d/52-ftdi.rules SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="sensors/ftdi_%s{serial}"
Thats odd. I am confused because the udev rules says
ttyUSB
but the commandttyACM0
. What you can do is: 1) Disconnect the lidar 2) startdmesg -w
in a terminal 3) Plug in lidar again and watch what comes up in the terminal. (and post the couple of lines here, it will contain the right/dev
path)it is showing too many lines, but no information with a /dev path. What can I do?
I mean only the new lines, that are added to dmesg, when you plugin the lidar. If they are to many, use something like https://pastebin.com/
sorry about the delay, I was using an arduino to see the data from the lidar and to send it to the usb. I think that was the problem, I change it to a Usb Serial Ttl Uart converter and all went fine, thanks for your answers. I still don't know what was the problem about doing that, since it should do the same thing as the converter.
Yes, the arduino would do the same thing, but the path will be different. And you also need a different udev rule. I like this overview: http://www.joakimlinde.se/microcontro...