Class BreadthFirstSearch
Defined in File goal_intent_search.hpp
Class Documentation
Public Functions
Constructor.
- Parameters:
costmap – Costmap to check
Search for the closest node to the given reference node.
- Parameters:
reference_node – The reference node to search from
candidate_nodes – The candidate nodes to search for
max_iterations – The maximum number of iterations to perform
- Returns:
True if a candidate node is found, false otherwise
Get the neighbors of a given node.
- Parameters:
current_id – The current node id
- Returns:
A vector of neighbor node ids
Check if a node is in collision with the costmap.
- Parameters:
id – The node id to check
- Returns:
True if the node is in collision, false otherwise
Get the output closest node in candidate indices.
- Returns:
closest_node The closest candidate node index to the given point by search
Destructor.
Protected Attributes