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
105 stars 86 forks source link

Error after SOPAS command SetAccessMode #27

Closed rostest closed 2 years ago

rostest commented 2 years ago

The driver restarts due to timeout after entering SOPAS command SetAccessMode:

rosservice call /sick_tim_7xx/ColaMsg "{request: 'sMN SetAccessMode 3 F4724744'}"

Subsequent SOPAS commands like sWN LFPparticle result in error messages.

issue_screenshot_1 issue_screenshot_2

rostest commented 2 years ago

Due to the SetAccessMode command, the TiM-7 stops measuring. While waiting for scan data, ros services are not served. After 5 seconds without receiving scan data, the driver restarts by timeout. To solve the issue, the driver must be modified to concurrently execute the ros event loop (to serve ros messages and service calls) and the laser message loop (to receive scan data).

rostest commented 2 years ago

Driver update 16.3.2022:

rostest commented 2 years ago

Fixed by https://github.com/SICKAG/sick_scan_xd/releases/tag/2.5.1