Skip to content

Commit fbe93c3

Browse files
h-ohtatkimura4
andauthored
feat(behavior_velocity_planner): output stop reason of traffic light whenever a stop point is inserted (backport autowarefoundation#2323) (#209)
feat(behavior_velocity_planner): output stop reason of traffic light whenever a stop point is inserted (autowarefoundation#2323) Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Co-authored-by: Tomoya Kimura <tomoya.kimura@tier4.jp>
1 parent 13d6053 commit fbe93c3

File tree

1 file changed

+2
-1
lines changed
  • planning/behavior_velocity_planner/src/scene_module/traffic_light

1 file changed

+2
-1
lines changed

planning/behavior_velocity_planner/src/scene_module/traffic_light/scene.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,9 @@ autoware_auto_planning_msgs::msg::PathWithLaneId TrafficLightModule::insertStopP
490490
if (debug_data_.highest_confidence_traffic_light_point != std::nullopt) {
491491
stop_factor.stop_factor_points = std::vector<geometry_msgs::msg::Point>{
492492
debug_data_.highest_confidence_traffic_light_point.value()};
493-
planning_utils::appendStopReason(stop_factor, stop_reason);
494493
}
494+
planning_utils::appendStopReason(stop_factor, stop_reason);
495+
495496
return modified_path;
496497
}
497498

0 commit comments

Comments
 (0)