#include <collision_resolution.h>
Public Member Functions | |
virtual const std::vector< uint32_t > & | getRobotCollisions () const =0 |
returns amount of robot collisions found in each resolve try after resetSession More... | |
virtual void | resetSession (const RouteCoordinatorWrapper *_route_querry, const PotentialCalculator *_pCalc, const uint32_t _robot_radius)=0 |
resets the session (setting the new route querry and potential calculator) More... | |
virtual std::vector< std::reference_wrapper< Vertex > > | resolve (Vertex &_current, Vertex &_next, int32_t _collision)=0 |
resolves a found collision between two robots. More... | |
virtual void | saveCollision (const uint32_t _coll)=0 |
increases the collision count of one robot More... | |
Definition at line 41 of file collision_resolution.h.
|
pure virtual |
returns amount of robot collisions found in each resolve try after resetSession
Implemented in multi_robot_router::AvoidanceResolution, multi_robot_router::BacktrackingResolution, and multi_robot_router::EmptyResolution.
|
pure virtual |
resets the session (setting the new route querry and potential calculator)
_route_querry | the route coordinator to coordinate paths |
_pCalc | the potential calculator for assigning potential to expanded Vertices |
_robot_radius | the radius of the current robot |
Implemented in multi_robot_router::AvoidanceResolution, multi_robot_router::BacktrackingResolution, and multi_robot_router::EmptyResolution.
|
pure virtual |
resolves a found collision between two robots.
_current | the last expanded vertex |
_next | the vertex to expand to |
_collision | the index of the colliding robot |
Implemented in multi_robot_router::AvoidanceResolution, multi_robot_router::BacktrackingResolution, and multi_robot_router::EmptyResolution.
|
pure virtual |
increases the collision count of one robot
_coll | the robot elected for increasing its collisions |
Implemented in multi_robot_router::AvoidanceResolution, multi_robot_router::BacktrackingResolution, and multi_robot_router::EmptyResolution.