ros-drivers / urg_node

ROS wrapper for the Hokuyo urg_c library.
Other
101 stars 147 forks source link

Error connecting to Hokuyo: Could not open network Hokuyo #92

Open lloonl opened 3 years ago

lloonl commented 3 years ago

I try to use laser scan of hokuyo lidar uam-05lp-t301 but it say I could not open ethernet port

192.168.1.10:10940 could not open ethernet port.

then I try to ping 192.168.1.10 make a check that this ip address is available

ping 192.168.1.10 PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data.

64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.052 ms 64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.052 ms 64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.052 ms

it can ping the address but i could not open my port My ip is 192.168.1.66

GetOverMassif commented 1 year ago

I try to use laser scan of hokuyo lidar uam-05lp-t301 but it say I could not open ethernet port

192.168.1.10:10940 could not open ethernet port.

then I try to ping 192.168.1.10 make a check that this ip address is available

ping 192.168.1.10 PING 192.168.1.10 (192.168.1.10) 56(84) bytes of data.

64 bytes from 192.168.1.10: icmp_seq=1 ttl=64 time=0.052 ms 64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.052 ms 64 bytes from 192.168.1.10: icmp_seq=2 ttl=64 time=0.052 ms

it can ping the address but i could not open my port My ip is 192.168.1.66

Hello, how did you solve this problem? I met the same problem.

Sitthinan2001 commented 9 months ago

I met the same problem.

ggari-robotnik commented 5 months ago

I'm having the same problem with Hokuyo ust-20lx with ros2 on container. Inside the container, using the host network mode. I can ping the laser from inside the container but node do not seems to work

ping 192.168.0.10
PING 192.168.0.10 (192.168.0.10) 56(84) bytes of data.
64 bytes from 192.168.0.10: icmp_seq=1 ttl=80 time=0.126 ms
64 bytes from 192.168.0.10: icmp_seq=2 ttl=80 time=0.114 m
[ERROR] [1717049350.158791586] [robot.front_laser]: Error connecting to Hokuyo: Could not open network Hokuyo:
front-laser-1  | [urg_node_driver-1] [192.168.0.10:10940](http://192.168.0.10:10940/)
front-laser-1  | [urg_node_driver-1] could not open ethernet port.

On the same robot with baremetal ros noetic the laser works