Skip to content

Commit 6b06285

Browse files
tkimura4HansRobo
authored andcommitted
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: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
1 parent 1fbf181 commit 6b06285

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
@@ -489,8 +489,9 @@ autoware_auto_planning_msgs::msg::PathWithLaneId TrafficLightModule::insertStopP
489489
if (debug_data_.highest_confidence_traffic_light_point != std::nullopt) {
490490
stop_factor.stop_factor_points = std::vector<geometry_msgs::msg::Point>{
491491
debug_data_.highest_confidence_traffic_light_point.value()};
492-
planning_utils::appendStopReason(stop_factor, stop_reason);
493492
}
493+
planning_utils::appendStopReason(stop_factor, stop_reason);
494+
494495
return modified_path;
495496
}
496497

0 commit comments

Comments
 (0)