#include <route_coordinator.h>
Public Member Functions | |
bool | checkSegment (const Vertex &_next, const uint32_t _startTime, const int32_t _endTime, const uint32_t _diameterPixel, int32_t &_collisionRobot, bool _ignoreGoal=false) const |
calls checkSegment of the routeCoordinator using robot More... | |
int32_t | findPotentialUntilRobotOnSegment (const uint32_t _robot, const uint32_t _segId) const |
calls findPotentialUntilRobotOnSegment of the routeCoordinator using robot More... | |
int32_t | findSegNr (const uint32_t _robot, const uint32_t _potential) const |
calls findSegNr of the routeCoordinator using robot More... | |
const uint32_t | getEnd () const |
calls getEnd of the routeCoordinator using robot More... | |
std::vector< std::pair< uint32_t, float > > | getListOfRobotsHigherPrioritizedRobots (const uint32_t _robot, const uint32_t _segId, const int32_t _potential) const |
calls getListOfRobotsHigherPrioritizedRobots of the routeCoordinator using robot More... | |
const uint32_t | getStart () const |
calls getStart of the routeCoordinator using robot More... | |
bool | isGoal (const Vertex &_seg) const |
calls isGoal of the routeCoordinator using robot More... | |
RouteCoordinatorWrapper (const uint32_t _robot, const RouteCoordinator &_routeCoordinater) | |
constructor to save the routecoordinator and the current robot More... | |
Private Attributes | |
uint32_t | robot_ |
const RouteCoordinator * | routeCoordinator_ |
Definition at line 122 of file route_coordinator.h.
multi_robot_router::RouteCoordinatorWrapper::RouteCoordinatorWrapper | ( | const uint32_t | _robot, |
const RouteCoordinator & | _routeCoordinater | ||
) |
constructor to save the routecoordinator and the current robot
holds a static reference to the Routecoordinator and enables to call the route Coordinators const methods using the saved robotId
Definition at line 33 of file route_coordinator.cpp.
bool multi_robot_router::RouteCoordinatorWrapper::checkSegment | ( | const Vertex & | _next, |
const uint32_t | _startTime, | ||
const int32_t | _endTime, | ||
const uint32_t | _diameterPixel, | ||
int32_t & | _collisionRobot, | ||
bool | _ignoreGoal = false |
||
) | const |
calls checkSegment of the routeCoordinator using robot
Definition at line 39 of file route_coordinator.cpp.
int32_t multi_robot_router::RouteCoordinatorWrapper::findPotentialUntilRobotOnSegment | ( | const uint32_t | _robot, |
const uint32_t | _segId | ||
) | const |
calls findPotentialUntilRobotOnSegment of the routeCoordinator using robot
Definition at line 44 of file route_coordinator.cpp.
int32_t multi_robot_router::RouteCoordinatorWrapper::findSegNr | ( | const uint32_t | _robot, |
const uint32_t | _potential | ||
) | const |
calls findSegNr of the routeCoordinator using robot
const uint32_t multi_robot_router::RouteCoordinatorWrapper::getEnd | ( | ) | const |
calls getEnd of the routeCoordinator using robot
Definition at line 49 of file route_coordinator.cpp.
std::vector< std::pair< uint32_t, float > > multi_robot_router::RouteCoordinatorWrapper::getListOfRobotsHigherPrioritizedRobots | ( | const uint32_t | _robot, |
const uint32_t | _segId, | ||
const int32_t | _potential | ||
) | const |
calls getListOfRobotsHigherPrioritizedRobots of the routeCoordinator using robot
Definition at line 54 of file route_coordinator.cpp.
const uint32_t multi_robot_router::RouteCoordinatorWrapper::getStart | ( | ) | const |
calls getStart of the routeCoordinator using robot
Definition at line 59 of file route_coordinator.cpp.
bool multi_robot_router::RouteCoordinatorWrapper::isGoal | ( | const Vertex & | _seg | ) | const |
calls isGoal of the routeCoordinator using robot
Definition at line 64 of file route_coordinator.cpp.
|
private |
Definition at line 160 of file route_coordinator.h.
|
private |
Definition at line 161 of file route_coordinator.h.