Static Public Member Functions | Static Private Member Functions | List of all members
f2c::pp::PathPlanning Class Reference

Path planning class to connect a path using a TurningBase class method. More...

#include <path_planning.h>

Static Public Member Functions

static F2CPath planPath (const F2CRobot &robot, const F2CRoute &route, TurningBase &turn)
 Compute the coverage path using a route as a reference. More...
 
static F2CPath planPath (const F2CRobot &robot, const F2CSwaths &swaths, TurningBase &turn)
 
static F2CPath planPathForConnection (const F2CRobot &robot, const F2CPoint &p1, double ang1, const F2CMultiPoint &mp, const F2CPoint &p2, double ang2, TurningBase &turn)
 Compute path that connects two points with angles and visit middle points. More...
 
static F2CPath planPathForConnection (const F2CRobot &robot, const F2CSwaths &s1, const F2CMultiPoint &mp, const F2CSwaths &s2, TurningBase &turn)
 

Static Private Member Functions

static double getSmoothTurningRadius (const F2CRobot &robot)
 
static std::vector< std::pair< F2CPoint, double > > simplifyConnection (const F2CRobot &robot, const F2CPoint &p1, double ang1, const F2CMultiPoint &mp, const F2CPoint &p2, double ang2)
 

Detailed Description

Path planning class to connect a path using a TurningBase class method.

Definition at line 19 of file path_planning.h.

Member Function Documentation

◆ getSmoothTurningRadius()

double f2c::pp::PathPlanning::getSmoothTurningRadius ( const F2CRobot robot)
staticprivate

Definition at line 94 of file path_planning.cpp.

◆ planPath() [1/2]

F2CPath f2c::pp::PathPlanning::planPath ( const F2CRobot robot,
const F2CRoute route,
TurningBase turn 
)
static

Compute the coverage path using a route as a reference.

Definition at line 12 of file path_planning.cpp.

◆ planPath() [2/2]

F2CPath f2c::pp::PathPlanning::planPath ( const F2CRobot robot,
const F2CSwaths swaths,
TurningBase turn 
)
static

Compute path that covers the swaths in order, using a path planner to connect swaths.

Definition at line 28 of file path_planning.cpp.

◆ planPathForConnection() [1/2]

F2CPath f2c::pp::PathPlanning::planPathForConnection ( const F2CRobot robot,
const F2CPoint p1,
double  ang1,
const F2CMultiPoint mp,
const F2CPoint p2,
double  ang2,
TurningBase turn 
)
static

Compute path that connects two points with angles and visit middle points.

Definition at line 75 of file path_planning.cpp.

◆ planPathForConnection() [2/2]

F2CPath f2c::pp::PathPlanning::planPathForConnection ( const F2CRobot robot,
const F2CSwaths s1,
const F2CMultiPoint mp,
const F2CSwaths s2,
TurningBase turn 
)
static

Compute path that goes from the end of the last swath in a F2CSwaths to the beginning of the first one in another F2CSwaths.

Definition at line 46 of file path_planning.cpp.

◆ simplifyConnection()

std::vector< std::pair< F2CPoint, double > > f2c::pp::PathPlanning::simplifyConnection ( const F2CRobot robot,
const F2CPoint p1,
double  ang1,
const F2CMultiPoint mp,
const F2CPoint p2,
double  ang2 
)
staticprivate

Definition at line 104 of file path_planning.cpp.


The documentation for this class was generated from the following files:


fields2cover
Author(s):
autogenerated on Fri Apr 25 2025 02:18:31