Skip to content

Commit

Permalink
Merge pull request #8 from avalen2022/main
Browse files Browse the repository at this point in the history
Laser_filtered changed
  • Loading branch information
Juancams authored Mar 5, 2024
2 parents 958c790 + bf82741 commit 077aeed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
10 changes: 7 additions & 3 deletions config/footprint_filter.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
scan_to_scan_filter_chain:
ros__parameters:
filter1:
name: footprint_filter
type: laser_filters/LaserScanFootprintFilter
name: box_filter
type: laser_filters/LaserScanRangeFilter
params:
inscribed_radius: 0.325
use_message_range_limits: false # if not specified defaults to false
lower_threshold: 0.325 # if not specified defaults to 0.0
upper_threshold: 20.0 # if not specified defaults to 100000.0
lower_replacement_value: .inf # if not specified defaults to NaN
upper_replacement_value: .inf # if not specified defaults to NaN
7 changes: 1 addition & 6 deletions launch/kobuki.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,7 @@ def generate_launch_description():
laser_filter_s2_cmd = Node(
package='laser_filters',
executable='scan_to_scan_filter_chain',
parameters=[
PathJoinSubstitution([
package_dir,
'params', 'footprint_filter.yaml',
])
],
parameters=[params_file_filter],
condition=IfCondition(PythonExpression([lidar_s2]))
)

Expand Down

0 comments on commit 077aeed

Please sign in to comment.