Connecting to Husky's Hokuyos
Hi,
I'm working with a Husky that has two Hokuyo laser scanners. I just started working in the lab and until now, no one has used the lidars. I tried following online tutorials and answers, but they all assume that the lidars will appear with:
$ ls -l /dev/ttyACM0
However, no device is found when I do that. The two lidars both have a blue light on and are plugged into the Husky, so I believe they are working. Additionally, I installed the urg_node
. There is no lidar data being published on any topics and no lidar data is displayed when viewing the Husky in RViz.
I would really appreciate some advice on how to connect to the lidars.
Thanks so much!
When you plug in the lidars, what devices do they show up as? You will have to search for them in /dev and replace the /dev/ttyACM0 with the appropriate device id's. You could use
dmesg -wH
and then plug in your lidars and see what devices they show up as. I would also urge you to set the correct udev rules as mentioned in their wiki.@Akhil Kurup thanks so much for the response! I tried using dmesg and unplugged and plugged in both lidars, but nothing shows up. Any ideas?
After you figure this out, make sure you reflect these changes in the
urg_lidar.launch
file.@EricW sorry, I haven't used these lidars myself.
Here's a script that may help:
You can just copy it in a terminal. Example output:
Thanks so much for the response @tryan! I ran it and my output is:
Which looks to me like the lidars aren't connected
I was assuming you're working with a USB device. Are the sensors you're using ethernet? If so, you'll have to set the
ip_address
parameter forurg_node
.@tryan would you mind clarifying how to find the ip address? I found one document that said the addresses were:
But if I
ping
those addresses I don't get any response.