3 #include <traversability_generator3d/TravGenNode.hpp>
4 #include <traversability_generator3d/TraversabilityConfig.hpp>
5 #include <base/Pose.hpp>
15 const traversability_generator3d::TraversabilityConfig &config;
21 double minDistToObstacle;
26 std::vector<double> minDistance;
43 void updateDistance(
const maps::grid::TraversabilityNodeBase* node,
double distance);
53 PathStatistic(
const traversability_generator3d::TraversabilityConfig &config);
71 void calculateStatistics(
const std::vector<const traversability_generator3d::TravGenNode*> &path,
const std::vector<base::Pose2D> &poses,
72 const maps::grid::TraversabilityMap3d<traversability_generator3d::TravGenNode *> &trMap,
const std::string &debugObstacleName = std::string());
74 bool isPathFeasible(
const std::vector<const traversability_generator3d::TravGenNode*> &path,
const std::vector<base::Pose2D> &poses,
75 const maps::grid::TraversabilityMap3d<traversability_generator3d::TravGenNode *> &trMap);
Definition: PathStatistic.hpp:19
size_t getNumFrontiers() const
Definition: PathStatistic.hpp:37
double getMinDistToObstacles() const
Definition: PathStatistic.cpp:56
size_t getNumObstacles() const
Definition: PathStatistic.hpp:30
double getMinDistToFrontiers() const
Definition: PathStatistic.cpp:51
void updateStatistic(const maps::grid::TraversabilityNodeBase *node)
Definition: PathStatistic.cpp:30
Stats()
Definition: PathStatistic.cpp:10
void updateDistance(const maps::grid::TraversabilityNodeBase *node, double distance)
Definition: PathStatistic.cpp:46
Definition: PathStatistic.hpp:14
const Stats & getBoundaryStats() const
Definition: PathStatistic.hpp:82
const Stats & getRobotStats() const
Definition: PathStatistic.hpp:77
void calculateStatistics(const std::vector< const traversability_generator3d::TravGenNode * > &path, const std::vector< base::Pose2D > &poses, const maps::grid::TraversabilityMap3d< traversability_generator3d::TravGenNode * > &trMap, const std::string &debugObstacleName=std::string())
Definition: PathStatistic.cpp:66
bool isPathFeasible(const std::vector< const traversability_generator3d::TravGenNode * > &path, const std::vector< base::Pose2D > &poses, const maps::grid::TraversabilityMap3d< traversability_generator3d::TravGenNode * > &trMap)
Definition: PathStatistic.cpp:206
PathStatistic(const traversability_generator3d::TraversabilityConfig &config)
Definition: PathStatistic.cpp:61
Stats boundaryStats
Definition: PathStatistic.hpp:50
Stats robotStats
Definition: PathStatistic.hpp:48
Definition: Dijkstra.cpp:8