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 4f9282b5308a7..44821c3fdf96f 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 @@ -489,8 +489,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; }