This is a very basic beginner question, I know, but I am having trouble connecting to the Hokuyo UST-10LX sensor and haven't really found much in terms of helpful documentation online.
I tried connecting the Hokuyo UST-10LX directly to the ethernet port of a Lubuntu 15.04 machine. The default settings of the Hokuyo UST-10LX are apparently: ip addr: 192.168.0.10 netmask: 255.255.255.0 gateway: 192.168.0.1
So, I tried going to the network manager and setting IPv4 settings manually, to have the ip addr be 192.168.0.9, netmask of 255.255.255.0, and gateway to 192.168.0.1. I also have a route set up to the settings of the scanner.
I then go into the terminal and run:
rosrun urg_node urg_node _ip_address:=192.168.0.10
and get this output:
[ERROR] [1444754011.353035050]: [setParam] Failed to contact master at [localhost:11311]. Retrying...
How might I fix this? I figure it's just a simple misunderstanding on my end, but through all my searching I couldn't find anything to get me up and running :(
Thank you for the help! :)
HighVoltage pointed out to me that I wasn't running
roscore which was indeed the case. I was actually running into problems before that when I still had
roscore up, and when I tried it again, this was the output of the
[ERROR] [1444828808.364581810]: Error connecting to Hokuyo: Could not open network Hokuyo: 192.168.0.10:10940 could not open ethernet port.