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

fix(behavior_velocity_planner::intersection): only zero hold velocity #3327

Merged

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Apr 10, 2023

Description

In tier4's autoware.universe of version v0.6.0, stop line module did not work well due to the intersection modules' improper point insertion.

  • before this PR, point insertion was using not only the velocity from prior point (zero order hold), but also the lane ids
  • after this PR, only velocity is zero order holded.

See test result

Related links

Internal JIRA link: https://tier4.atlassian.net/browse/RT1-480

Tests performed

Before this PR (left), the point added by the intersection module is copying the lane ids from prior point. After this PR, the lane ids is that of the nearest point.

image

Before this PR

the vehicle does not completely stop at the stop line.

before_pr-2023-04-10_14.05.23.mp4

After this PR

it completely stops and the stop line does not chatter.

after_pr-2023-04-10_14.02.18.mp4

scenario

No degradation: https://evaluation.tier4.jp/evaluation/reports/6425fbba-c6b7-513b-b1ff-1016fe346ef9?project_id=prd_jt

Notes for reviewers

This issue does not happen on latest universe thanks to the post processing, but this is still potential bug.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Apr 10, 2023
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4db2047) 12.40% compared to head (763f34b) 12.41%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3327   +/-   ##
=======================================
  Coverage   12.40%   12.41%           
=======================================
  Files        1368     1368           
  Lines       96124    96113   -11     
  Branches    27697    27690    -7     
=======================================
  Hits        11928    11928           
+ Misses      71528    71517   -11     
  Partials    12668    12668           
Flag Coverage Δ *Carryforward flag
differential 3.89% <0.00%> (?)
total 12.41% <ø> (+<0.01%) ⬆️ Carriedforward from 4db2047

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...lanner/include/behavior_path_planner/utilities.hpp 83.33% <ø> (ø)
...ehavior_path_planner/src/util/lane_change/util.cpp 0.00% <ø> (ø)
planning/behavior_path_planner/src/utilities.cpp 8.62% <ø> (+0.08%) ⬆️
...ity_planner/src/scene_module/intersection/util.cpp 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@soblin
Copy link
Contributor Author

soblin commented Apr 10, 2023

@satoshi-ota Can you review the result ?

Copy link
Contributor

@satoshi-ota satoshi-ota left a comment

Choose a reason for hiding this comment

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

LGTM

@soblin soblin merged commit fe488e9 into autowarefoundation:main Apr 10, 2023
@soblin soblin deleted the fix/intersection-point-insertion branch April 10, 2023 07:52
0x126 pushed a commit to tier4/autoware.universe that referenced this pull request Apr 10, 2023
…autowarefoundation#3327)

only zero hold velocity

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
purewater0901 pushed a commit that referenced this pull request Apr 11, 2023
…#3327)

only zero hold velocity

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
0x126 pushed a commit to tier4/autoware.universe that referenced this pull request Apr 12, 2023
…autowarefoundation#3327)

only zero hold velocity

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
soblin added a commit to soblin/autoware.universe that referenced this pull request May 7, 2023
…autowarefoundation#3327)

only zero hold velocity

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants