Class SemanticScorer
Defined in File semantic_scorer.hpp
Inheritance Relationships
Base Type
public nav2_route::EdgeCostFunction
(Class EdgeCostFunction)
Class Documentation
Scores an edge based on arbitrary graph semantic data such as set priority/danger levels or regional attributes (e.g. living room, bathroom, work cell 2)
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
Scores graph object based on metadata’s semantic value at key.
- Parameters:
mdata – Metadata
score – to add to
Scores graph object based on metadata’s key values.
- Parameters:
mdata – Metadata
score – to add to
Get name of the plugin for parameter scope mapping.
- Returns:
Name
Protected Attributes