Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laser scan points with max_range will be discarded #60

Open
Solitry opened this issue Apr 23, 2020 · 0 comments
Open

Laser scan points with max_range will be discarded #60

Solitry opened this issue Apr 23, 2020 · 0 comments

Comments

@Solitry
Copy link

Solitry commented Apr 23, 2020

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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant