ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
This seems to be a common question. :)
If you dont want to alter the laser driver, you can use the laser_filters package as you already guessed.
Example of how to use this:
<launch>
<node pkg="laser_filters" type="scan_to_scan_filter_chain"
name="laser_filter">
<rosparam command="load" file="laserscan_filter.yaml" />
</node>
</launch>
With laserscan_filter.yaml
containing:
scan_filter_chain:
- name: laser_cutoff
type: laser_filters/LaserScanAngularBoundsFilter
params:
lower_angle: -1.60876090527
upper_angle: 1.60876090527