ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

multiple scan angle filter

asked 2021-10-18 07:07:40 -0500

dinesh gravatar image

How to filter out multiple segments of scan angle using laser filters package? Right now i am able to only segment out single segment of scan filter like:

scan_filter_chain:
- name: angle
  type: laser_filters/LaserScanAngularBoundsFilter
  params:
    lower_angle: -1.57
    upper_angle: 1.57

Here when i tired this param it is not working:

scan_filter_chain:
- name: angle
  type: laser_filters/LaserScanAngularBoundsFilter
  params:
    lower_angle: -1.5708
    upper_angle: -0.785398
- name: angle1
  type: laser_filters/LaserScanAngularBoundsFilter
  params:
    lower_angle: 0.785398
    upper_angle: 1.5708

Is their any way or other ros package which can do this function?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-10-18 18:16:44 -0500

miura gravatar image

Set up a laser_filters node for angle and another for angle1, and create two filtered scans. I think this can be achieved by combining them with ira_laser_tools.

ira_laser_tools: http://wiki.ros.org/ira_laser_tools

edit flag offensive delete link more

Comments

I got it. But in my case the source of laserscan is single and the number of angle scan is dynamic instead of static and fixed number.

dinesh gravatar image dinesh  ( 2021-10-19 01:44:59 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2021-10-18 07:07:40 -0500

Seen: 180 times

Last updated: Oct 18 '21