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

Inconsistency between implementation and param description on intensity filter #164

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from

Conversation

whoutman
Copy link

The "lower_threshold"-param of the intensity filter describes that "Intensity values lower than this value will be filtered", while the implementation filters for values "lower equal", see https://github.com/ros-perception/laser_filters/blob/noetic-devel/src/intensity_filter.cpp#L78

Our proposal would be to keep the implementation as is and to update the description. Further, we propose to allow a negative value as a lower bound on the "lower_threshold" to allow no filtering on the lower bound. With the current implementation we saw in simulation that laser measurements with zero intensity were filtered out as well, which is undesired.

As an alternative, we can keep the dynamic configuration as is, but make the implementation consistent by replacing the "<=" statements in the link above by "<".

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

Successfully merging this pull request may close these issues.

1 participant