Skip to content

Commit

Permalink
feat(behavior_velocity_planner): output stop reason of traffic light …
Browse files Browse the repository at this point in the history
…whenever a stop point is inserted (#2323)

Signed-off-by: tomoya.kimura <[email protected]>

Signed-off-by: tomoya.kimura <[email protected]>
  • Loading branch information
tkimura4 authored Nov 18, 2022
1 parent aa62853 commit 35e7b79
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<geometry_msgs::msg::Point>{
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;
}

Expand Down

0 comments on commit 35e7b79

Please sign in to comment.