-
Notifications
You must be signed in to change notification settings - Fork 650
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(intersection): use constant velocity for smoother reference #1721
fix(intersection): use constant velocity for smoother reference #1721
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1721 +/- ##
==========================================
- Coverage 10.31% 10.29% -0.02%
==========================================
Files 1207 1207
Lines 87119 87106 -13
Branches 20076 20057 -19
==========================================
- Hits 8982 8971 -11
- Misses 68835 68965 +130
+ Partials 9302 9170 -132
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
5672945
to
f8a8db3
Compare
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
f8a8db3
to
036dac7
Compare
checked that the red marker does not oscillate (and passed all related scenario tests) simplescreenrecorder-2022-09-06_11.03.25.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…warefoundation#1721) Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…warefoundation#1721) Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…warefoundation#1721) Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…warefoundation#1721) Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…warefoundation#1721) Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
fixed the reference velocity to a constant velocity reference as the input to smoother
Signed-off-by: Mamoru Sobue mamoru.sobue@tier4.jp
Description
Changed how to calculate ttc(time-to-colliison) for ego car. The ttc for ego is the predicted passing time for each point on the path, calculated from predicted velocity.
Before this PR ego's predicted velocity was obtained by smoothing this velocity reference.
So velocity profile was processed doubly toward vmax. As a result velocity profile was underestimated.
In this PR, smoother is applied to constant vmax reference only once.
Related links
Prior PR: #1405
Tests performed
The red marker (this polygon is the predicted positions of ego while the object is intersecting with ego's path) does not oscillate a lot.
Before PR:
before_fix_smoother.mp4
In this PR:
after_fix_smoother-2022-08-29_19.46.15.mp4
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.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.