Closed aginika closed 9 years ago
When we use laser_filters/LaserScanIntensityFilterwith gazebo, this will die because overflowed value is passed to array index around https://github.com/ros-perception/laser_filters/blob/indigo-devel/include/laser_filters/intensity_filter.h#L96-L99
laser_filters/LaserScanIntensityFilter
So I added to check the value of intensities and do min compare to prevent overflowed int generating.
+1, lgtm
Thanks @aginika!
seems need another fix: https://github.com/ros-perception/laser_filters/pull/34
When we use
laser_filters/LaserScanIntensityFilter
with gazebo, this will die because overflowed value is passed to array index around https://github.com/ros-perception/laser_filters/blob/indigo-devel/include/laser_filters/intensity_filter.h#L96-L99So I added to check the value of intensities and do min compare to prevent overflowed int generating.