Can't connect Velodyne VLP-16 to ROS on ubuntu.
Hi. I tryed to connect VLP-16 to ros on Ubuntu. I have my ubuntu on virtual machine. Version of ros I use is "Indigo".
I built velodyne_driver from source and then was guided by this tutorial.
In tutorial there is this first steps:
Power the LIDAR via the included adapter Connect the LIDAR to an Ethernet port on your computer. Statically assign an IP to this port in the 192.168.3.x range.
sudo ifconfig eth0 192.168.3.100
Add a static route to the LIDAR's IP address. The IP address can be found on the CD case which was included with the LIDAR.
sudo route add 192.168.XX.YY eth0
And i can't realy understand what XX and YY should be? I don't have any CD included. And how could I know are my ip settings set correctly (look any data on my laptop recived by VLP-16)?
One person gave me an advise. It was:
As far as I know the standard address of the VLP-16 is 192.168.1.201. So what I'd do is:
sudo ifconfig eth0 up
sudo ip addr add 192.168.1.200 dev eth0
sudo route add -net 192.168.1.0 netmask 255.255.255.0 dev eth0
Afterwards you should have access to the vlps webinterface via your browser. Then run the vlp driver, and make sure the rpms set in driver and webinterface match.
I did all as he recommend. After that I tryed to enter in my browser 192.168.1.200 or 192.168.1.201 and it said that it "Unable to connect".
Maybe anyone else have any other suggestions. Thanks.
I would suggest trying it without using a virtual machine. If that works, then it's clear where the problem lies.