ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Limit scan angle with Laser Filter?

asked 2011-04-06 16:56:06 -0500

William gravatar image

updated 2014-01-28 17:09:29 -0500

ngrennan gravatar image

I am using the LMS1xx node ( ) with my LMS151-10100, and I want to limit the min angle and max angle (I have obstacles on either side of the laser). The LMS1xx node does not currently allow you to limit the published scan angle, and it seems that isn't supported by the laser atm either. So, I was wondering if I could use some part of the laser_pipeline to clip off angles < 0 and > 180 easily.

Nothing jumped out at me on the wiki as being able to do this.

Thanks in advance for you help.

edit retag flag offensive close merge delete


did you solve it? if you did it , could you please help me:/?

Mekateng gravatar image Mekateng  ( 2018-03-06 15:30:43 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2011-04-06 20:57:26 -0500

updated 2011-04-06 21:03:05 -0500

You're looking for the LaserScanAngularBoundsFilter. :-)

Admittedly, a list of available plugins/filters is often missing in the Wiki. So this is how I found it:

martin@caprica:~$ rospack plugins --attrib=plugin filters 
katana_trajectory_filter /home/martin/ros/stacks/uos-ros-pkg/katana_driver/katana_trajectory_filter/default_plugins.xml
constraint_aware_spline_smoother /opt/ros/cturtle/stacks/trajectory_filters/constraint_aware_spline_smoother/default_plugins.xml
joint_normalization_filters /opt/ros/cturtle/stacks/trajectory_filters/joint_normalization_filters/default_plugins.xml
spline_smoother /opt/ros/cturtle/stacks/trajectory_filters/spline_smoother/default_plugins.xml
isolated_point_filter /opt/ros/cturtle/stacks/navigation_experimental/isolated_point_filter/ipf_plugin.xml
assisted_teleop /opt/ros/cturtle/stacks/navigation_experimental/assisted_teleop/filter_plugins.xml
pr2_navigation_perception /opt/ros/cturtle/stacks/pr2_navigation/pr2_navigation_perception/config/pr2_laser_filters/pr2_laser_filters_plugins.xml
laser_tilt_controller_filter /opt/ros/cturtle/stacks/pr2_navigation/laser_tilt_controller_filter/laser_tilt_controller_filter_plugins.xml
laser_filters /opt/ros/cturtle/stacks/laser_pipeline/laser_filters/laser_filters_plugins.xml
filters /opt/ros/cturtle/stacks/common/filters/default_plugins.xml

Ok, so this is a list of all packages that contain filters, not just the laser filters. Looks like laser_filters is the only interesting package. The command above gives you the path of the plugin configuration XML file, which lists all the plugins defined in that package.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-04-06 16:56:06 -0500

Seen: 1,373 times

Last updated: Apr 06 '11