Closed hgaren closed 6 years ago
can you make sure your Ethernet connection to the scanner is fine, can you ping the scanner?
I figure out the TCP connection error. Yes, my ethernet connection with scanner is fine. Now I am getting sendSOPASCommand: failed attempt to read from socket: 125: Operation canceled get_datagram: no data available for read after 1000 ms this type of error.
This sounds similar to https://github.com/SICKAG/sick_ldmrs_laser/issues/6 can you try the proposals in there?
with your computer on 192.168.0.2 (and the scanner on 192.168.0.1?) can you still ping it?
Yes I still ping it. 64 bytes from 192.168.0.1: icmp_seq=12 ttl=64 time=3.02 ms 64 bytes from 192.168.0.1: icmp_seq=13 ttl=64 time=1.55 ms 64 bytes from 192.168.0.1: icmp_seq=14 ttl=64 time=1.41 ms
can you do a tcpdump when starting the node?
sudo tcpdump host 192.168.0.1
I am receiving this line , when I starting the node. tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
there should be output for every package send, try to ping the scanner and see if tcpdump gives output.
Unfortunately I dont see any output
This driver (sick_ldmrs_laser
) is not compatible with the SICK MRS 1000, only with the SICK LD-MRS models listed in the Readme (which are completely different from the MRS 1000). The MRS 1000 is actually very similar from a software point of view to the SICK TiM line of scanners. We are currently working on a pull request to add MRS 1000 support to the sick_tim
driver: uos/sick_tim#55 . The PR should hopefully get merged this week. Please use that repo for your scanner.
How to adapt with MRS1000 for this library. While running the roslaunch sick_ldmrs_tools sick_ldmrs_demo.launch , it says : Info: Manager::addAndRunDevice: Created Device of type 3 with Name LDMRS-1 under the ID 1. Now initializing the device. ERROR: Tcp::open: Failed to open TCP connection to 192.168.0.1, aborting. ERROR: LuxBase::initTcp(): ERROR: Failed to establish TCP connection, aborting. ERROR: LDMRS::init: Failed to initialize LuxBase - Device init failed, aborting. ERROR: Manager::addAndRunDevice: Failed to initialize the device, aborting. [ERROR] [1516026681.915360498]: Failed to add device LDMRS-1, aborting!