ros-perception / laser_filters

Assorted filters designed to operate on 2D planar laser scanners, which use the sensor_msgs/LaserScan type.
BSD 3-Clause "New" or "Revised" License
161 stars 199 forks source link

Will the laser_speckle_filter look at outliers and give them value equal to their neighbours? #100

Closed pooraniravi closed 3 years ago

pooraniravi commented 3 years ago

Need some clear documentation on that. Not able to follow with the params

jonbinney commented 3 years ago

From http://wiki.ros.org/laser_filters#LaserScanSpeckleFilter

"This filter removes outliers in a sensor_msgs/LaserScan. There are two filter methods that are available for this filter. These points are "removed" by setting the corresponding range value to NaN.: "

Does that answer your question?

jonbinney commented 3 years ago

(it doesn't set them to the value of their neighbors, it sets them to NaN.)