This is a filter that removes points in a laser scan inside of a polygon. More...
#include <polygon_filter.h>
Public Member Functions | |
bool | configure () |
LaserScanPolygonFilter () | |
bool | update (const sensor_msgs::LaserScan &input_scan, sensor_msgs::LaserScan &filtered_scan) |
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 | ~FilterBase () |
Private Member Functions | |
bool | inPolygon (tf::Point &point) const |
void | reconfigureCB (laser_filters::PolygonFilterConfig &config, uint32_t level) |
Private Attributes | |
std::shared_ptr< dynamic_reconfigure::Server< laser_filters::PolygonFilterConfig > > | dyn_server_ |
bool | invert_filter_ |
boost::recursive_mutex | own_mutex_ |
geometry_msgs::Polygon | polygon_ |
std::string | polygon_frame_ |
double | polygon_padding_ |
ros::Publisher | polygon_pub_ |
laser_geometry::LaserProjection | projector_ |
tf::TransformListener | tf_ |
Additional Inherited Members | |
Protected Member Functions inherited from filters::FilterBase< sensor_msgs::LaserScan > | |
bool | getParam (const std::string &name, std::string &value) const |
bool | getParam (const std::string &name, XmlRpc::XmlRpcValue &value) const |
bool | getParam (const std::string &name, double &value) const |
bool | getParam (const std::string &name, std::vector< double > &value) const |
bool | getParam (const std::string &name, unsigned int &value) const |
bool | getParam (const std::string &name, int &value) const |
bool | getParam (const std::string &name, std::vector< std::string > &value) const |
bool | getParam (const std::string &name, bool &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 points in a laser scan inside of a polygon.
Definition at line 64 of file polygon_filter.h.
laser_filters::LaserScanPolygonFilter::LaserScanPolygonFilter | ( | ) |
Definition at line 250 of file polygon_filter.cpp.
|
virtual |
Implements filters::FilterBase< sensor_msgs::LaserScan >.
Definition at line 254 of file polygon_filter.cpp.
|
private |
Definition at line 390 of file polygon_filter.cpp.
|
private |
Definition at line 407 of file polygon_filter.cpp.
|
virtual |
Implements filters::FilterBase< sensor_msgs::LaserScan >.
Definition at line 299 of file polygon_filter.cpp.
|
private |
Definition at line 75 of file polygon_filter.h.
|
private |
Definition at line 81 of file polygon_filter.h.
|
private |
Definition at line 77 of file polygon_filter.h.
|
private |
Definition at line 79 of file polygon_filter.h.
|
private |
Definition at line 78 of file polygon_filter.h.
|
private |
Definition at line 80 of file polygon_filter.h.
|
private |
Definition at line 74 of file polygon_filter.h.
|
private |
Definition at line 86 of file polygon_filter.h.
|
private |
Definition at line 89 of file polygon_filter.h.