From 7176938cdb7ed680910e84e308c2ff170d17e9f4 Mon Sep 17 00:00:00 2001 From: Zulfaqar Azmi Date: Mon, 21 Oct 2024 16:01:22 +0900 Subject: [PATCH] follow old transition Signed-off-by: Zulfaqar Azmi --- .../behavior_planning.launch.xml | 73 +++++++++---------- .../src/interface.cpp | 2 +- 2 files changed, 37 insertions(+), 38 deletions(-) diff --git a/launch/tier4_planning_launch/launch/scenario_planning/lane_driving/behavior_planning/behavior_planning.launch.xml b/launch/tier4_planning_launch/launch/scenario_planning/lane_driving/behavior_planning/behavior_planning.launch.xml index 53869ec619154..17d9a88b85d8a 100644 --- a/launch/tier4_planning_launch/launch/scenario_planning/lane_driving/behavior_planning/behavior_planning.launch.xml +++ b/launch/tier4_planning_launch/launch/scenario_planning/lane_driving/behavior_planning/behavior_planning.launch.xml @@ -180,44 +180,43 @@ /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/planning/behavior_path_lane_change_module/src/interface.cpp b/planning/behavior_path_lane_change_module/src/interface.cpp index 591b96e79a5bb..645f7ef6d8e8a 100644 --- a/planning/behavior_path_lane_change_module/src/interface.cpp +++ b/planning/behavior_path_lane_change_module/src/interface.cpp @@ -146,7 +146,7 @@ ModuleStatus LaneChangeInterface::updateState() if (!module_type_->isAbleToReturnCurrentLane()) { log_warn_throttled("Lane change path is unsafe but cannot return. Continue lane change."); change_state_if_stop_required(); - return within_turn_direction_lane ? ModuleStatus::FAILURE : ModuleStatus::RUNNING; + return within_turn_direction_lane ? ModuleStatus::SUCCESS : ModuleStatus::RUNNING; } const auto threshold = module_type_->getLaneChangeParam().backward_length_buffer_for_end_of_lane;