Open Solitry opened 4 years ago
Hi,
When I use function projectLaser and given the range_cutoff as default value -1, the range_cutoff will be set to scan_in.range_max, and it will let the points with the max_range be discarded.
projectLaser
range_cutoff
scan_in.range_max
However, in the doc of sensor_msgs/LaserScan, it says:
float32[] ranges # range data [m] (Note: values < range_min or > range_max should be discarded)
I think the point that the range equals to max_range exactly should not be discarded.
Hi,
When I use function
projectLaser
and given therange_cutoff
as default value -1, therange_cutoff
will be set toscan_in.range_max
, and it will let the points with the max_range be discarded.However, in the doc of sensor_msgs/LaserScan, it says:
I think the point that the range equals to max_range exactly should not be discarded.