Skip to content

Commit

Permalink
readd removed line
Browse files Browse the repository at this point in the history
Signed-off-by: stevedan <[email protected]>
  • Loading branch information
stevedanomodolor committed Nov 18, 2024
1 parent d5a3776 commit 3acc50e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nav2_smac_planner/src/a_star.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ bool AStarAlgorithm<NodeT>::areInputsValid()
if (!_start || _goalsSet.empty()) {
throw std::runtime_error("Failed to compute path, no valid start or goal given.");
}

// Check if ending point is valid
if (getToleranceHeuristic() < 0.001) {
// if a node is not valid, prune it from the goals set
Expand Down

0 comments on commit 3acc50e

Please sign in to comment.