Namespaces | Functions
polygon_filter.cpp File Reference
#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>
Include dependency graph for polygon_filter.cpp:

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...
 

Function Documentation

◆ getNumberFromXMLRPC()

double getNumberFromXMLRPC ( XmlRpc::XmlRpcValue value,
const std::string &  full_param_name 
)

Definition at line 70 of file polygon_filter.cpp.

◆ makePolygonFromString()

geometry_msgs::Polygon makePolygonFromString ( const std::string &  polygon_string,
const geometry_msgs::Polygon &  last_polygon 
)

Definition at line 192 of file polygon_filter.cpp.

◆ makePolygonFromXMLRPC()

geometry_msgs::Polygon makePolygonFromXMLRPC ( const XmlRpc::XmlRpcValue polygon_xmlrpc,
const std::string &  full_param_name 
)

Definition at line 83 of file polygon_filter.cpp.

◆ padPolygon()

void padPolygon ( geometry_msgs::Polygon &  polygon,
double  padding 
)

Definition at line 59 of file polygon_filter.cpp.

◆ parseVVF()

std::vector<std::vector<float> > parseVVF ( const std::string &  input,
std::string &  error_return 
)

Definition at line 121 of file polygon_filter.cpp.

◆ polygonToString()

std::string polygonToString ( geometry_msgs::Polygon  polygon)

Definition at line 234 of file polygon_filter.cpp.

◆ sign0()

double sign0 ( double  x)
inline

Same as sign(x) but returns 0 if x is 0.

Definition at line 54 of file polygon_filter.cpp.



laser_filters
Author(s): Tully Foote
autogenerated on Mon Feb 28 2022 22:39:24