SICKAG / sick_safetyscanners

ROS driver for SICK safety laser scanners
https://www.sick.com/de/en/opto-electronic-protective-devices/safety-laser-scanners/c/g187225
Apache License 2.0
61 stars 59 forks source link

Fix/out of range #139

Closed mitchallain closed 3 months ago

mitchallain commented 1 year ago

See my comments on #115.

This prevents a std::out_of_range error from being thrown when the scan points vector is empty.

I still would like to better understand the conditions under which the scan points vector can become empty.