Go to the documentation of this file.
35 #ifndef DWB_CRITICS_MAP_GRID_H
36 #define DWB_CRITICS_MAP_GRID_H
75 virtual double scorePose(
const geometry_msgs::Pose2D& pose);
119 void reset()
override;
134 #endif // DWB_CRITICS_MAP_GRID_H
nav_core2::BasicCostmap costmap
ScoreAggregationType
Separate modes for aggregating scores across the multiple poses in a trajectory.
Subclass of CostmapQueue that avoids Obstacles and Unknown Values.
void propogateManhattanDistances()
Go through the queue and set the cells to the Manhattan distance from their parents.
CostmapQueue(nav_core2::Costmap &costmap, bool manhattan=false)
void setAsObstacle(unsigned int x, unsigned int y)
Sets the score of a particular cell to the obstacle cost.
breadth-first scoring of all the cells in the costmap
virtual double scorePose(const geometry_msgs::Pose2D &pose)
Retrieve the score for a single pose.
ScoreAggregationType aggregationType_
void addCriticVisualization(sensor_msgs::PointCloud &pc) override
double getScale() const override
MapGridQueue(nav_core2::Costmap &costmap, MapGridCritic &parent)
bool validCellToQueue(const costmap_queue::CellData &cell) override
double getScore(unsigned int x, unsigned int y)
Retrieve the score for a particular cell of the costmap.
std::shared_ptr< MapGridQueue > queue_
nav_grid::VectorNavGrid< double > cell_values_
double scoreTrajectory(const dwb_msgs::Trajectory2D &traj) override
double unreachable_score_
Special cell_values.
nav_core2::Costmap::Ptr costmap_
void reset() override
Clear the queue and set cell_values_ to the appropriate number of unreachableCellScore.
dwb_critics
Author(s): David V. Lu!!
autogenerated on Sun May 18 2025 02:47:34