SICKAG / sick_scan_xd

Based on the sick_scan drivers for ROS1, sick_scan_xd merges sick_scan, sick_scan2 and sick_scan_base repositories. The driver supports both Linux (native, ROS1, ROS2) and Windows (native and ROS2).
Apache License 2.0
95 stars 85 forks source link

Unable to launch the SICK Generic Driver without ROS #241

Closed jescprz closed 8 months ago

jescprz commented 9 months ago

Hello, I am trying to launch the SICK Generic Driver without ROS for the multiScan100, but I am running into two different types of errors. When I first try use the multiscan launch file, I run into Error1 and when I try for a second time, I run into Error2. Please let me know anything I can try to fix the issue.
Error1.txt Error2.txt

rostest commented 9 months ago

Thanks for reporting this error. On the first time, sick_generic_caller can not connect to the multiScan:

[Error]: Tcp::open: Failed to open TCP connection to 172.17.0.219:2111, aborting.

Please check the network connection. Try to ping the multiScan and open //172.17.0.219 in a brower to use SOPAS Air.

At the second time, the udp port to receive scan data is already in use:

[Error]: ## ERROR UdpReceiverSocketImpl::Init(:2115): can't bind socket, error: 98 (Address already in use)

This is probably caused by a previously started sick_generic_caller process, which still is running in the background and using the udp socket. Please make sure that all processes of sick_generic_caller has exited or killed.