A class to provide median filtering of laser scans in time. More...
#include <array_filter.h>
Public Member Functions | |
bool | configure () |
LaserArrayFilter () | |
Constructor. | |
bool | update (const sensor_msgs::LaserScan &scan_in, sensor_msgs::LaserScan &scan_out) |
Update the filter and get the response. | |
~LaserArrayFilter () | |
Private Attributes | |
boost::mutex | data_lock |
unsigned int | filter_length_ |
XmlRpc::XmlRpcValue | intensity_config_ |
filters::MultiChannelFilterChain < float > * | intensity_filter_ |
unsigned int | num_ranges_ |
How many scans to average over. | |
XmlRpc::XmlRpcValue | range_config_ |
How many data point are in each row. | |
filters::MultiChannelFilterChain < float > * | range_filter_ |
sensor_msgs::LaserScan | temp_scan_ |
Protection from multi threaded programs. |
A class to provide median filtering of laser scans in time.
Definition at line 49 of file array_filter.h.
Constructor.
averaging_length | How many scans to average over. |
Definition at line 35 of file array_filter.cpp.
Definition at line 76 of file array_filter.cpp.
bool laser_filters::LaserArrayFilter::configure | ( | ) | [virtual] |
Implements filters::FilterBase< sensor_msgs::LaserScan >.
Definition at line 41 of file array_filter.cpp.
bool laser_filters::LaserArrayFilter::update | ( | const sensor_msgs::LaserScan & | scan_in, |
sensor_msgs::LaserScan & | scan_out | ||
) | [virtual] |
Update the filter and get the response.
scan_in | The new scan to filter |
scan_out | The filtered scan |
Quickly pass through all data
Implements filters::FilterBase< sensor_msgs::LaserScan >.
Definition at line 85 of file array_filter.cpp.
boost::mutex laser_filters::LaserArrayFilter::data_lock [private] |
Definition at line 74 of file array_filter.h.
unsigned int laser_filters::LaserArrayFilter::filter_length_ [private] |
Definition at line 68 of file array_filter.h.
Definition at line 72 of file array_filter.h.
filters::MultiChannelFilterChain<float>* laser_filters::LaserArrayFilter::intensity_filter_ [private] |
Definition at line 78 of file array_filter.h.
unsigned int laser_filters::LaserArrayFilter::num_ranges_ [private] |
How many scans to average over.
Definition at line 69 of file array_filter.h.
How many data point are in each row.
Definition at line 71 of file array_filter.h.
Definition at line 77 of file array_filter.h.
sensor_msgs::LaserScan laser_filters::LaserArrayFilter::temp_scan_ [private] |
Protection from multi threaded programs.
Definition at line 75 of file array_filter.h.