Skip to content

Commit 0110e8f

Browse files
maxime-clemKhalilSelyan
authored and
KhalilSelyan
committed
fix(behavior_path_planner): reset current route lanelet in manual drive (#7505)
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
1 parent 71c5ca3 commit 0110e8f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

planning/autoware_behavior_path_planner/src/behavior_path_planner_node.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,9 @@ void BehaviorPathPlannerNode::run()
417417
const auto controlled_by_autoware_autonomously =
418418
planner_data_->operation_mode->mode == OperationModeState::AUTONOMOUS &&
419419
planner_data_->operation_mode->is_autoware_control_enabled;
420-
if (!controlled_by_autoware_autonomously && !planner_manager_->hasApprovedModules())
420+
if (
421+
!controlled_by_autoware_autonomously &&
422+
!planner_manager_->hasNonAlwaysExecutableApprovedModules())
421423
planner_manager_->resetCurrentRouteLanelet(planner_data_);
422424

423425
// run behavior planner

0 commit comments

Comments
 (0)