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 (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>
  • Loading branch information
h-ohta and tkimura4 committed Dec 15, 2022
1 parent 13d6053 commit fbe93c3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<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 fbe93c3

Please sign in to comment.