Class EdgeCostFunction
Defined in File edge_cost_function.hpp
Inheritance Relationships
Derived Types
public nav2_route::CostmapScorer
(Class CostmapScorer)public nav2_route::DistanceScorer
(Class DistanceScorer)public nav2_route::DynamicEdgesScorer
(Class DynamicEdgesScorer)public nav2_route::GoalOrientationScorer
(Class GoalOrientationScorer)public nav2_route::PenaltyScorer
(Class PenaltyScorer)public nav2_route::SemanticScorer
(Class SemanticScorer)public nav2_route::StartPoseOrientationScorer
(Class StartPoseOrientationScorer)public nav2_route::TimeScorer
(Class TimeScorer)
Class Documentation
A plugin interface to score edges during graph search to modify the lowest cost path (e.g. by distance, maximum speed, regions prefer not to travel blocked by occupancy, or using arbitrarily defined user metadata stored in the edge and nodes of interest.)
Subclassed by nav2_route::CostmapScorer, nav2_route::DistanceScorer, nav2_route::DynamicEdgesScorer, nav2_route::GoalOrientationScorer, nav2_route::PenaltyScorer, nav2_route::SemanticScorer, nav2_route::StartPoseOrientationScorer, nav2_route::TimeScorer
Public Types
Public Functions
Constructor.
Virtual destructor.
Configure the scorer, but do not store the node.
- Parameters:
parent – pointer to user’s node
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
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.