Closed JRombouts closed 9 years ago
This fixes a bug in the shadow filter which can occur if there are nan values in the incoming scan.
shouldn't you do something with scan_in.ranges[j] then ?
scan_in.ranges[j]
Hmm - only adding the check on scan_in.ranges[i] solves my crashes. I will close this pull request for now while I figure this out :).
scan_in.ranges[i]
This fixes a bug in the shadow filter which can occur if there are nan values in the incoming scan.