diff --git a/planning/behavior_velocity_planner/src/scene_module/traffic_light/scene.cpp b/planning/behavior_velocity_planner/src/scene_module/traffic_light/scene.cpp index ac7c98e1e9b6a..9cc9203a1c888 100644 --- a/planning/behavior_velocity_planner/src/scene_module/traffic_light/scene.cpp +++ b/planning/behavior_velocity_planner/src/scene_module/traffic_light/scene.cpp @@ -490,8 +490,9 @@ autoware_auto_planning_msgs::msg::PathWithLaneId TrafficLightModule::insertStopP if (debug_data_.highest_confidence_traffic_light_point != std::nullopt) { stop_factor.stop_factor_points = std::vector{ debug_data_.highest_confidence_traffic_light_point.value()}; - planning_utils::appendStopReason(stop_factor, stop_reason); } + planning_utils::appendStopReason(stop_factor, stop_reason); + return modified_path; }