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
101 stars 84 forks source link

Fixed max chunk size for landmark transmission from imk file #347

Open p0rys opened 3 months ago

p0rys commented 3 months ago

This fix should solve a problem that it is not possible to transfer an IMK file to a NAV350 if it contains more than 50 landmarks.

According to the "Telegram listing" (page 55, see screenshot), a maximum of 50 landmarks can be transferred with one command. image

The fix is to iterate over the landmarks and execute the "AddLandmark" command for chunks with a maximum of 50 landmarks.

rostest commented 3 months ago

Many thanks for your feedback and contribution!