#include "laser_filters/polygon_filter.h"
#include <ros/ros.h>
#include <dynamic_reconfigure/server.h>
#include <laser_filters/PolygonFilterConfig.h>
#include <geometry_msgs/PolygonStamped.h>
#include <cstdio>
#include <string>
#include <sstream>
#include <vector>
Go to the source code of this file.
Namespaces | |
laser_filters | |
LaserScanMaskFilter removes points on directions defined in a mask from a laser scan. | |
Functions | |
double | getNumberFromXMLRPC (XmlRpc::XmlRpcValue &value, const std::string &full_param_name) |
geometry_msgs::Polygon | makePolygonFromString (const std::string &polygon_string, const geometry_msgs::Polygon &last_polygon) |
geometry_msgs::Polygon | makePolygonFromXMLRPC (const XmlRpc::XmlRpcValue &polygon_xmlrpc, const std::string &full_param_name) |
void | padPolygon (geometry_msgs::Polygon &polygon, double padding) |
std::vector< std::vector< float > > | parseVVF (const std::string &input, std::string &error_return) |
std::string | polygonToString (geometry_msgs::Polygon polygon) |
double | sign0 (double x) |
Same as sign(x) but returns 0 if x is 0. More... | |
double getNumberFromXMLRPC | ( | XmlRpc::XmlRpcValue & | value, |
const std::string & | full_param_name | ||
) |
Definition at line 70 of file polygon_filter.cpp.
geometry_msgs::Polygon makePolygonFromString | ( | const std::string & | polygon_string, |
const geometry_msgs::Polygon & | last_polygon | ||
) |
Definition at line 192 of file polygon_filter.cpp.
geometry_msgs::Polygon makePolygonFromXMLRPC | ( | const XmlRpc::XmlRpcValue & | polygon_xmlrpc, |
const std::string & | full_param_name | ||
) |
Definition at line 83 of file polygon_filter.cpp.
void padPolygon | ( | geometry_msgs::Polygon & | polygon, |
double | padding | ||
) |
Definition at line 59 of file polygon_filter.cpp.
std::vector<std::vector<float> > parseVVF | ( | const std::string & | input, |
std::string & | error_return | ||
) |
Definition at line 121 of file polygon_filter.cpp.
std::string polygonToString | ( | geometry_msgs::Polygon | polygon | ) |
Definition at line 234 of file polygon_filter.cpp.
|
inline |
Same as sign(x) but returns 0 if x is 0.
Definition at line 54 of file polygon_filter.cpp.