Class OperationsManager
Defined in File operations_manager.hpp
Class Documentation
Manages operations plugins to call on route tracking.
Public Types
Public Functions
A constructor for nav2_route::OperationsManager.
A Destructor for nav2_route::OperationsManager.
Finds the set of operations stored in the graph to trigger at this transition.
- Parameters:
node – Node to check
edge_entered – Edge entered to check for ON_ENTER events
edge_exit – Edge exit to check for ON_EXIT events
- Returns:
OperationPtrs A vector of operation pointers to execute
Finds the set of operations stored in graph objects, by event.
- Parameters:
node – op_vec Operations vector to check
trigger – Trigger for which operations in op_vec should be included
operations – Output vector populated with relevant operations
Updates manager result state by an individual operation’s result.
- Parameters:
name – Operations’ name
op_result – Operations’ result
result – Manager’s result to update
Processes the operations at this tracker state.
- Parameters:
status_change – Whether something meaningful has changed
state – The route tracking state to check for state info
route – The raw route being tracked
pose – robot pose
rerouting_info – Rerouting information regarding previous partial state
- Returns:
A result vector whether the operations are requesting something to occur
Protected Functions
Processes a vector of operations plugins, by trigger.
- Parameters:
operations – Operations to trigger
Results – to populate from operations
Protected Attributes