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

Problem connecting hokuyo ethernet LIDAR

asked 2015-02-23 08:54:51 -0600

schultza gravatar image

Hey guys,

I am facing some problems with my hokuyo (UTM-30LX-EW, so the ethernet Scanner). I just downloaded the urg_node stack (with synaptic package manager) and tried to run

rosrun urg_node urg_node _ip_adress:="192.168.0.10"

I received an error:

[ERROR] [1424702059.927639563]: Error connecting to Hokuyo: Could not open serial Hokuyo:
/dev/ttyACM0 @ 115200
could not open serial device.

So for me it looks like it thinks its an USB device. What did I wrong? My network connections are pretty easy for use with hokuyo, I just have an ethernet connect while I am connected with the hokuyo:

  • manual ipv4 settings
  • adress: 192.168.0.15
  • netmask 255.255.255.0
  • gateway: 192.168.0.1 I am directly connected with the hokuyo so no switch in between.

I already found some questions for this on the answers page but nothing helped me so far. On windwos with UrgBenri tool everything works fine so the laser isnt broken or smth :)

So after this is what i basically want is to write a simple subscriber which receives an array of distances from the LIDAR. But actually the tutorials (Wrtiting a simple publisher and subscriber) and also the wiki of the hokuyo on the ros page doesnt help me a lot for this. Can you give me some advices how can I find a first approach?

Thanks in advance

Oh yea: Running Ubuntu 14.04 and Indigo

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-02-23 09:15:33 -0600

You have a typo in your parameter name. It has to be "ip_address". not "ip_adress". :)

edit flag offensive delete link more

Comments

Oh ok :) I didn't copy it just typed it here. I cant Test it right now but I will asap. Assumimg i typed it currently should it work like this?

schultza gravatar image schultza  ( 2015-02-23 12:36:03 -0600 )edit

Yes, it works as intended on my machine without the typo (and fails with it as you describe).

Stefan Kohlbrecher gravatar image Stefan Kohlbrecher  ( 2015-02-23 14:16:08 -0600 )edit

Can you also help me with my other question?

schultza gravatar image schultza  ( 2015-02-24 03:27:06 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-02-23 08:54:51 -0600

Seen: 2,692 times

Last updated: Feb 23 '15