This is a filter that removes speckle points in a laser scan based on consecutive ranges. More...
#include <speckle_filter.h>
Public Member Functions | |
bool | configure () |
void | configure (SpeckleFilterConfig &config) |
LaserScanSpeckleFilter () | |
bool | update (const sensor_msgs::LaserScan &input_scan, sensor_msgs::LaserScan &output_scan) |
~LaserScanSpeckleFilter () | |
Public Member Functions inherited from filters::FilterBase< sensor_msgs::LaserScan > | |
bool | configure (const std::string ¶m_name, ros::NodeHandle node_handle=ros::NodeHandle()) |
bool | configure (XmlRpc::XmlRpcValue &config) |
FilterBase () | |
const std::string & | getName () const |
std::string | getType () |
virtual bool | update (const T &data_in, T &data_out)=0 |
virtual | ~FilterBase () |
Private Member Functions | |
void | reconfigureCB (laser_filters::SpeckleFilterConfig &config, uint32_t level) |
Private Attributes | |
SpeckleFilterConfig | config_ = SpeckleFilterConfig::__getDefault__() |
std::shared_ptr< dynamic_reconfigure::Server< laser_filters::SpeckleFilterConfig > > | dyn_server_ |
boost::recursive_mutex | own_mutex_ |
std::vector< bool > | valid_ranges_work_ |
WindowValidator * | validator_ |
Additional Inherited Members | |
Protected Member Functions inherited from filters::FilterBase< sensor_msgs::LaserScan > | |
bool | getParam (const std::string &name, bool &value) const |
bool | getParam (const std::string &name, double &value) const |
bool | getParam (const std::string &name, int &value) const |
bool | getParam (const std::string &name, std::string &value) const |
bool | getParam (const std::string &name, std::vector< double > &value) const |
bool | getParam (const std::string &name, std::vector< std::string > &value) const |
bool | getParam (const std::string &name, unsigned int &value) const |
bool | getParam (const std::string &name, XmlRpc::XmlRpcValue &value) const |
bool | loadConfiguration (XmlRpc::XmlRpcValue &config) |
Protected Attributes inherited from filters::FilterBase< sensor_msgs::LaserScan > | |
bool | configured_ |
std::string | filter_name_ |
std::string | filter_type_ |
string_map_t | params_ |
This is a filter that removes speckle points in a laser scan based on consecutive ranges.
Definition at line 154 of file speckle_filter.h.
laser_filters::LaserScanSpeckleFilter::LaserScanSpeckleFilter | ( | ) |
Definition at line 45 of file speckle_filter.cpp.
laser_filters::LaserScanSpeckleFilter::~LaserScanSpeckleFilter | ( | ) |
Definition at line 50 of file speckle_filter.cpp.
|
virtual |
Implements filters::FilterBase< sensor_msgs::LaserScan >.
Definition at line 58 of file speckle_filter.cpp.
|
inline |
Definition at line 161 of file speckle_filter.h.
|
private |
Definition at line 125 of file speckle_filter.cpp.
bool laser_filters::LaserScanSpeckleFilter::update | ( | const sensor_msgs::LaserScan & | input_scan, |
sensor_msgs::LaserScan & | output_scan | ||
) |
Definition at line 74 of file speckle_filter.cpp.
|
private |
Definition at line 170 of file speckle_filter.h.
|
private |
Definition at line 166 of file speckle_filter.h.
|
private |
Definition at line 168 of file speckle_filter.h.
|
private |
Definition at line 174 of file speckle_filter.h.
|
private |
Definition at line 171 of file speckle_filter.h.