Class EdgeScorer
Defined in File edge_scorer.hpp
Class Documentation
An class to encapsulate edge scoring logic for plugins and different user specified algorithms to influence graph search. It has access to the edge, which in turn has access to the parent and child node of the connection. It also contains action and arbitrary user-defined metadata to enable edge scoring logic based on arbitrary properties of the graph you select (e.g. some regions have a multiplier, some actions are discouraged with higher costs like having to go through a door, edges with reduced speed limits are proportionally less preferred for optimality relative to the distance the edge represents to optimize time to goal)
Public Functions
Constructor.
Destructor.
Score the edge with the set of plugins.
- Parameters:
edge – Ptr to edge for scoring
goal_pose – Pose Stamped of desired goal
score – of edge
final_edge – whether this edge brings us to the goal or not
- Returns:
If edge is valid
Provide the number of plugisn in the scorer loaded.
- Returns:
Number of scoring plugins
Protected Attributes