We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c1e72 commit 8e209a1Copy full SHA for 8e209a1
planning/behavior_path_planner/src/scene_module/goal_planner/goal_planner_module.cpp
@@ -864,7 +864,7 @@ bool GoalPlannerModule::hasDecidedPath() const
864
865
// If it is dangerous before approval, do not determine the path.
866
// This eliminates a unsafe path to be approved
867
- if (!isSafePath() && !isActivated()) {
+ if (parameters_->safety_check_params.enable_safety_check && !isSafePath() && !isActivated()) {
868
return false;
869
}
870
0 commit comments