Class CostmapScorer
Defined in File costmap_scorer.hpp
Inheritance Relationships
Base Type
public nav2_route::EdgeCostFunction
(Class EdgeCostFunction)
Class Documentation
Scores edges by the average or maximum cost found while iterating over the edge’s line segment in the global costmap.
Public Functions
Constructor.
destructor
Configure.
Main scoring plugin API.
- Parameters:
edge – The edge pointer to score, which has access to the start/end nodes and their associated metadata and actions
cost – of the edge scored
- Returns:
bool if this edge is open valid to traverse
Get name of the plugin for parameter scope mapping.
- Returns:
Name
Prepare for a new cycle, by resetting state, grabbing data to use for all immediate requests, or otherwise prepare for scoring.
Protected Attributes