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

LMS1xx mLMPsetscancfg error #39

Closed rostest closed 2 years ago

rostest commented 2 years ago

The following error occured at LMS1xx startup:

[INFO] [1647857579.088268028] [sick_scan]: Sending  : <STX><STX><STX><STX><Len=0023>sMN mLMPsetscancfg 0x00 0x01 0x00 0x00 CRC:<0x52>
[INFO] [1647857579.090287104] [sick_scan]: Receiving: <STX>sFA\x00\x08<ETX>
[WARN] [1647857579.090435203] [sick_scan]: Error Sopas answer mismatch: Error unexpected Sopas answer for request <STX><STX><STX><STX><Len=0023>sMN mLMPsetscancfg 0x00 0x01 0x00 ..., received answer: "sFA\x00\x08", expected patterns: "sAN mLMPsetscancfg","sMA mLMPsetscancfg"
rostest commented 2 years ago

Error is fixed, parameter for mLMPsetscancfg command corrected for LMS1xx and LMS5xx (commit 16ccdab).