LMS500 Timeout error

asked 2018-04-30 06:33:26 -0600

romi gravatar image

updated 2018-05-06 01:36:29 -0600

I am using SICK LMS 500 by cloning this driver https://github.com/NatanBiesmans/lms5xx After catkin_make and running the command 'rosrun laser_node laser_node' i get following error:

root@robot:~# rosrun laser_node laser_node
    *** Attempting to initialize the Sick LMS 5xx...
    Attempting to connect to Sick LMS 5xx @ 192.168.0.1:2111
ERROR: I/O exception - SickLMS5xx::_setupConnection: socket error on connect()!
ERROR: I/O exception - SickLMS5xx::_setupConnection: socket error on connect()!
[ERROR] [1525087671.389823223]: Initialize failed!

Here IP address: 192.168.0.1 TCP port : 2111

I get response after I ping this IP address but still get this error

root@robot:~# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.060 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.064 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.069 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.066 ms
64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=0.066 ms
64 bytes from 192.168.0.1: icmp_seq=6 ttl=64 time=0.067 ms
64 bytes from 192.168.0.1: icmp_seq=7 ttl=64 time=0.072 ms
64 bytes from 192.168.0.1: icmp_seq=8 ttl=64 time=0.065 ms
64 bytes from 192.168.0.1: icmp_seq=9 ttl=64 time=0.066 ms
64 bytes from 192.168.0.1: icmp_seq=10 ttl=64 time=0.067 ms
edit retag flag offensive close merge delete