![]() |
Multi-robot Playground
|
Functions | |
void | InitOccFrom (nav_msgs::OccupancyGrid &rInput, nav_msgs::OccupancyGrid &rOutput) |
bool | IsInBounds (nav_msgs::OccupancyGrid &rInput, Vec2i &rPos) |
bool | CheckAny (nav_msgs::OccupancyGrid &rInput, const Vec2i &rStart, const Vec2i &rEnd, const int &rVal) |
void | ComputePath (nav_msgs::OccupancyGrid &rOcc, const Vec2i &rStart, const Vec2i &rEnd, std::list< Vec2i > &rOutPath) |
void | ComputePathWavefront (nav_msgs::OccupancyGrid &rInput, const Vec2i &rStart, const Vec2i &rEnd, std::list< Vec2i > &rOutPath) |
void | ComputeFrontiers (nav_msgs::OccupancyGrid &rInput, nav_msgs::OccupancyGrid &rOutput, std::vector< Vec2i > &rFrontiers) |
void | ComputeClusters (nav_msgs::OccupancyGrid &rFrontiersMap, std::vector< Vec2i > &rFrontiers, std::vector< std::vector< Vec2i >> &rOutClusters) |
Vec2i | ClosestFrontierCluster (const Vec2i &rPos, std::vector< Vec2i > &rCluster) |
Vec2i | MedianFrontierCluster (const Vec2i &rPos, std::vector< Vec2i > &rCluster) |
void | ComputeCentroids (const Vec2i &rPos, std::vector< std::vector< Vec2i >> &rClusters, std::vector< Vec2i > &rOutCentroids) |
void | ComputeAverageCentroids (const Vec2i &rPos, std::vector< std::vector< Vec2i >> &rClusters, std::vector< Vec2i > &rOutCentroids) |
bool sa::CheckAny | ( | nav_msgs::OccupancyGrid & | rInput, |
const Vec2i & | rStart, | ||
const Vec2i & | rEnd, | ||
const int & | rVal | ||
) |
void sa::ComputeAverageCentroids | ( | const Vec2i & | rPos, |
std::vector< std::vector< Vec2i >> & | rClusters, | ||
std::vector< Vec2i > & | rOutCentroids | ||
) |
void sa::ComputeCentroids | ( | const Vec2i & | rPos, |
std::vector< std::vector< Vec2i >> & | rClusters, | ||
std::vector< Vec2i > & | rOutCentroids | ||
) |
void sa::ComputeClusters | ( | nav_msgs::OccupancyGrid & | rFrontiersMap, |
std::vector< Vec2i > & | rFrontiers, | ||
std::vector< std::vector< Vec2i >> & | rOutClusters | ||
) |
void sa::ComputeFrontiers | ( | nav_msgs::OccupancyGrid & | rInput, |
nav_msgs::OccupancyGrid & | rOutput, | ||
std::vector< Vec2i > & | rFrontiers | ||
) |
void sa::ComputePath | ( | nav_msgs::OccupancyGrid & | rOcc, |
const Vec2i & | rStart, | ||
const Vec2i & | rEnd, | ||
std::list< Vec2i > & | rOutPath | ||
) |
void sa::ComputePathWavefront | ( | nav_msgs::OccupancyGrid & | rInput, |
const Vec2i & | rStart, | ||
const Vec2i & | rEnd, | ||
std::list< Vec2i > & | rOutPath | ||
) |
void sa::InitOccFrom | ( | nav_msgs::OccupancyGrid & | rInput, |
nav_msgs::OccupancyGrid & | rOutput | ||
) |
bool sa::IsInBounds | ( | nav_msgs::OccupancyGrid & | rInput, |
Vec2i & | rPos | ||
) |