SICKAG / sick_scan

sick_scan is an open-source project to support the laser scanner of the company SICK using the ROS-framework
Apache License 2.0
130 stars 104 forks source link

Connecting to sick scanners LMS 1103 to stop measurement #144

Closed AAbouzeid closed 3 years ago

AAbouzeid commented 3 years ago

I have two scanners running on IP addresses: 192.168.0.137 and 192.168.0.161. I could connect to them using the Sopas software and stop measurement, and turn back on successfully. I'm trying to connect to them and accomplish that through code. I have the following code that is inspired by this: https://github.com/SICKAG/sick_scan/blob/master/tools/sick_generic_device_finder/sick_generic_device_finder.py

The code: https://onlinegdb.com/rYxMqmQNU

The code returns, the Ascii format of the commands I sent to the scanners, but the scanners never stop measuring (react to the stop measure command). Any help/guidance would be really appreciated. Thanks.