#include <single_robot_router.h>
Definition at line 49 of file single_robot_router.h.
| multi_robot_router::SingleRobotRouter::SingleRobotRouter |
( |
| ) |
|
| multi_robot_router::SingleRobotRouter::SingleRobotRouter |
( |
const SingleRobotRouter & |
srr | ) |
|
| bool multi_robot_router::SingleRobotRouter::getLastResult |
( |
| ) |
|
| const std::vector< uint32_t > & multi_robot_router::SingleRobotRouter::getRobotCollisions |
( |
| ) |
const |
returns the found robot collisions while planning
- Returns
- the found robot collisions
Definition at line 118 of file single_robot_router.cpp.
| bool multi_robot_router::SingleRobotRouter::getRouteCandidate |
( |
const uint32_t |
_start, |
|
|
const uint32_t |
_goal, |
|
|
const RouteCoordinatorWrapper & |
path_coordinator, |
|
|
const uint32_t |
_robotDiameter, |
|
|
const float & |
_robotSpeed, |
|
|
std::vector< RouteVertex > & |
path, |
|
|
const uint32_t |
_maxIterations |
|
) |
| |
calculates a route candidate coordinated with other robots by the given route Coordinated
- Parameters
-
| _start | the start vertex |
| _goal | the goal vertex |
| path_coordinator | the used route coordinater to coordinate with other robots |
| _robotDiameter | the diameter of the robot |
| _robotSpeed | the selected robot speed (multiplier) |
| path | the found route candidate |
| _maxIterations | the maximum allowed iterations of the loop |
- Returns
- returns true if a route candidate is found
Definition at line 53 of file single_robot_router.cpp.
| void multi_robot_router::SingleRobotRouter::initSearchGraph |
( |
const std::vector< Segment > & |
_graph, |
|
|
const uint32_t |
minSegmentWidth_ = 0 |
|
) |
| |
generates the search graph out of the given graph (and optimizes it)
- Parameters
-
| _graph | the main graph |
| minSegmentWidth_ | used to optimize the graph (e.g. if no robot has less than d in size all segments with less space than d can be removed) |
Definition at line 103 of file single_robot_router.cpp.
| void multi_robot_router::SingleRobotRouter::resetAttempt |
( |
| ) |
|
|
private |
| bool multi_robot_router::SingleRobotRouter::lastAttempt_ = false |
|
private |
| std::vector<RouteVertex> multi_robot_router::SingleRobotRouter::path_ |
|
private |
| uint32_t multi_robot_router::SingleRobotRouter::robotDiameter_ |
|
private |
| std::vector<std::unique_ptr<Vertex> > multi_robot_router::SingleRobotRouter::searchGraph_ |
|
private |
| Traceback multi_robot_router::SingleRobotRouter::traceback_ |
|
private |
The documentation for this class was generated from the following files: