LaserScanRangeFilter not working

asked 2015-01-08 02:57:14 -0500

heng gravatar image

I am trying to filter out the data that hit my robot by using laser_filters to discard the data that its range is smaller than the radius of my robot. However, no matter how I change the parameter of LaserScanRangeFilter, even to an extreme value, the data is unchanged, the data in /scan_filtered topic is totally the same with /scan topic. I am running the laser_filters in groovy.

By the way, the ScanShadowsFilter and InterpolationFilter worked totally fine. The following is my configuration:

scan_filter_chain: -name: range type: LaserScanRangeFilter params: lower_threshold: 100 upper_threshold: .inf

Can anyone tell me how to solve this?

edit retag flag offensive close merge delete

Comments

did you solve it?

Mekateng gravatar image Mekateng  ( 2018-03-06 15:34:20 -0500 )edit