laser_filter LaserScanRangeFilter is only using NaN as replacement value
SOLVED see answers
I want to use a laser_filter to limit my ranges to certain values.
But after defining the thresholds it replaces them only with NaN Values instead of my defined replacement values.
Those are my parameters:
scan_filter_chain:
- name: range
type: LaserScanRangeFilter
params:
use_message_range_limits: false
lower_threshold: 4.0
upper_threshold: 5.0
lower_replacement_value: 4.1
upper_replacement_value: 4.9
But instead of replacing the values outside of the threshold it sets them to NaN...
Any ideas? I feel like i am making some basic mistake.
Ok i realized the ndk crosscompile uses version: laser_filters-release-release-indigo-laser_filters-1.7.3-0. I will try to update to 1.8.6 and try again. Lets see if this fixes something