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 (autowarefoundation#2323)

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

Signed-off-by: tomoya.kimura <[email protected]>
Signed-off-by: yoshiri <[email protected]>
  • Loading branch information
tkimura4 authored and YoshiRi committed Jan 11, 2023
1 parent 3d1826b commit 3e9ca5a
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 3e9ca5a

Please sign in to comment.