35 std::vector<std::vector<Checkpoint>> generatedPaths;
37 for (uint32_t i = 0; i < _paths.size(); i++)
39 std::vector<Checkpoint> generatedPath;
41 for (uint32_t j = 0; j < _paths[i].size(); j++)
45 generatedPath.clear();
46 return generatedPaths;
53 generatedPath.push_back(seg);
56 generatedPaths.push_back(generatedPath);
59 return generatedPaths;
99 for (
const std::pair<uint32_t, float> &rob : list)
103 for (uint32_t i = 0; i < _paths[rob.first].size(); i++)
105 if (_paths[rob.first][i].potential >= rob.second)
uint32_t getSegmentId() const
std::vector< Precondition > preconditions
void updatePreconditions(const Precondition &n_pc)
adds or updates a precondition of the checkpoint
TFSIMD_FORCE_INLINE tfScalar angle(const Quaternion &q1, const Quaternion &q2)
std::vector< std::vector< Checkpoint > > generatePath(const std::vector< std::vector< RouteVertex >> &_paths, const RouteCoordinator &routeQuerry_) const
generates a final Routing Table containing Segment List and Preconditions to other robots ...
Checkpoint createElement(const RouteVertex &_element) const
const Eigen::Vector2d & getEnd() const
const Segment & getSegment() const
const Eigen::Vector2d & getStart() const
void addPreconditions(Checkpoint &_segment, const RouteVertex &_segToFind, const uint32_t _pathNr, const std::vector< std::vector< RouteVertex >> &_paths, const RouteCoordinator &routeQuerry_) const
virtual std::vector< std::pair< uint32_t, float > > getListOfRobotsHigherPrioritizedRobots(const uint32_t _robot, const uint32_t _segId, const int32_t _potential) const =0
returns all robots which pass the segment before the given robot and a given time ...