UAV Coverage Path Planner
Functions
torres_etal_2016.cpp File Reference

Coverage path planner based on M. Torres et al, 2016. More...

#include <torres_etal_2016.hpp>
Include dependency graph for torres_etal_2016.cpp:

Go to the source code of this file.

Functions

std::vector< geometry_msgs::Polygon > generatePolygonVector (const PointVector &polygon)
 Generate vector of polygon from PointVector. More...
 
std::vector< geometry_msgs::Polygon > generatePolygonVector (const std::vector< PointVector > &subPolygons)
 Generate vector of polygon from std::vector<PointVector> More...
 
bool plan (cpp_uav::Torres16::Request &req, cpp_uav::Torres16::Response &res)
 Plans coverage path. More...
 
int main (int argc, char **argv)
 

Detailed Description

Coverage path planner based on M. Torres et al, 2016.

Author
Takaki Ueno

Definition in file torres_etal_2016.cpp.

Function Documentation

std::vector<geometry_msgs::Polygon> generatePolygonVector ( const PointVector polygon)

Generate vector of polygon from PointVector.

Parameters
polygon
Returns
std::vector<geometry_msgs::Polygon> Vector of subpolygons assumed to be passed to ROS msg

Definition at line 20 of file torres_etal_2016.cpp.

std::vector<geometry_msgs::Polygon> generatePolygonVector ( const std::vector< PointVector > &  subPolygons)

Generate vector of polygon from std::vector<PointVector>

Parameters
subPolygons
Returns
std::vector<geometry_msgs::Polygon> Vector of subpolygons assumed to be passed to ROS msg

Definition at line 43 of file torres_etal_2016.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 173 of file torres_etal_2016.cpp.

bool plan ( cpp_uav::Torres16::Request &  req,
cpp_uav::Torres16::Response &  res 
)

Plans coverage path.

Parameters
reqContains values neccesary to plan a path
resContains resulting path
Returns
bool

For details of this service, cf. srv/Torres16.srv

Definition at line 72 of file torres_etal_2016.cpp.