Public Member Functions | Public Attributes
laser_filters::ScanShadowsFilter Class Reference

#include <scan_shadows_filter.h>

Inheritance diagram for laser_filters::ScanShadowsFilter:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool configure ()
double getAngleWithViewpoint (float r1, float r2, float included_angle)
 calculate the perpendicular angle at the end of r1 to get to r2 See http://en.wikipedia.org/wiki/Law_of_cosines
 ScanShadowsFilter ()
bool update (const sensor_msgs::LaserScan &scan_in, sensor_msgs::LaserScan &scan_out)
 Filter shadow points based on 3 global parameters: min_angle, max_angle and window. {min,max}_angle specify the allowed angle interval (in degrees) between the created lines (see getAngleWithViewPoint). Window specifies how many consecutive measurements to take into account for one point.
virtual ~ScanShadowsFilter ()

Public Attributes

double laser_max_range_
double max_angle_
double min_angle_
int neighbors_
int window_

Detailed Description

ScanShadowsFilter is a simple filter that filters shadow points in a laser scan line

Definition at line 51 of file scan_shadows_filter.h.


Constructor & Destructor Documentation

Definition at line 61 of file scan_shadows_filter.h.

Definition at line 95 of file scan_shadows_filter.h.


Member Function Documentation

bool laser_filters::ScanShadowsFilter::configure ( ) [inline, virtual]

Configure the filter from XML

Implements filters::FilterBase< sensor_msgs::LaserScan >.

Definition at line 68 of file scan_shadows_filter.h.

double laser_filters::ScanShadowsFilter::getAngleWithViewpoint ( float  r1,
float  r2,
float  included_angle 
) [inline]

calculate the perpendicular angle at the end of r1 to get to r2 See http://en.wikipedia.org/wiki/Law_of_cosines

Definition at line 99 of file scan_shadows_filter.h.

bool laser_filters::ScanShadowsFilter::update ( const sensor_msgs::LaserScan &  scan_in,
sensor_msgs::LaserScan &  scan_out 
) [inline, virtual]

Filter shadow points based on 3 global parameters: min_angle, max_angle and window. {min,max}_angle specify the allowed angle interval (in degrees) between the created lines (see getAngleWithViewPoint). Window specifies how many consecutive measurements to take into account for one point.

Parameters:
scan_inthe input LaserScan message
scan_outthe output LaserScan message

Implements filters::FilterBase< sensor_msgs::LaserScan >.

Definition at line 113 of file scan_shadows_filter.h.


Member Data Documentation

Definition at line 55 of file scan_shadows_filter.h.

Definition at line 56 of file scan_shadows_filter.h.

Definition at line 56 of file scan_shadows_filter.h.

Definition at line 57 of file scan_shadows_filter.h.

Definition at line 57 of file scan_shadows_filter.h.


The documentation for this class was generated from the following file:


laser_filters
Author(s): Tully Foote
autogenerated on Sat Sep 9 2017 02:57:38