Class ReroutingService
Defined in File rerouting_service.hpp
Inheritance Relationships
Base Type
public nav2_route::RouteOperation
(Class RouteOperation)
Class Documentation
A route operation to process requests from an external server for rerouting.
Public Functions
Constructor.
destructor
Configure.
Get name of the plugin for parameter scope mapping.
- Returns:
Name
Indication that the adjust speed limit route operation is performed on all state changes.
- Returns:
The type of operation (on graph call, on status changes, or constantly)
The main speed limit operation to adjust the maximum speed of the vehicle.
- Parameters:
mdata – Metadata corresponding to the operation in the navigation graph. If metadata is invalid or irrelevant, a nullptr is given
node_achieved – Node achieved, for additional context
edge_entered – Edge entered by node achievement, for additional context
edge_exited – Edge exited by node achievement, for additional context
route – Current route being tracked in full, for additional context
curr_pose – Current robot pose in the route frame, for additional context
- Returns:
Whether to perform rerouting and report blocked edges in that case
Service callback to trigger a reroute externally.
- Parameters:
request, empty –
response, returns – success
Protected Attributes