-
Notifications
You must be signed in to change notification settings - Fork 73
fix(velocity_smoother): prevent access when vector is empty #438
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(velocity_smoother): prevent access when vector is empty #438
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
@rej55 @satoshi-ota |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #438 +/- ##
===========================================
- Coverage 78.75% 24.32% -54.44%
===========================================
Files 11 178 +167
Lines 193 11928 +11735
Branches 73 3544 +3471
===========================================
+ Hits 152 2901 +2749
- Misses 11 8641 +8630
- Partials 30 386 +356
☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: mitukou1109 <mitukou1109@gmail.com>
f03d7f1
to
d4d859e
Compare
Description
This PR fixes
velocity_smoother
to prevent access to any element in a vector when it's empty.Related links
Internal: https://star4.slack.com/archives/C0575HP7NJG/p1744865921175659?thread_ts=1744862416.400339&cid=C0575HP7NJG
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.