Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

revert(behavior_velocity): revert unknown traffic light handling PR6036 #1675

Merged

Conversation

soblin
Copy link

@soblin soblin commented Dec 3, 2024

Description

なるべく https://github.com/autowarefoundation/autoware.universe/pull/6036/files のdiffを再現するように修正

以下の画像で一番左: オリジナル, 一番右: 今回

crosswalk

same as before
image

behavior_velocity_planner_node

same as before
image

planner_data

same as before
image

Related links

Parent Issue:

  • Link

How was this PR tested?

対応する信号をunknownにするとtraffic_lightの壁が出ることを確認
image

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

if (!tl_info_opt) {
// the info of this traffic light is not available
return false;
}
const auto & tl_info = tl_info_opt.value();
const auto & tl_info = *tl_info_opt;
for (auto && tl_light : tl_info.signal.elements) {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tl_info_optがnullptrでないかを確認しているので,落ちない

if (!tl_info_opt) {
return TrafficPrioritizedLevel::NOT_PRIORITIZED;
}
const auto & tl_info = tl_info_opt.value();
const auto & tl_info = *tl_info_opt;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tl_info_optがnullptrでないかを確認しているので,落ちない

Copy link

@saka1-s saka1-s left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@saka1-s saka1-s merged commit f8fed79 into beta/v0.19.1 Dec 4, 2024
35 of 36 checks passed
@saka1-s saka1-s deleted the revert/behavior_velocity/unknown-traffic-light branch December 4, 2024 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants