autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
964 stars 630 forks source link

fix(motion_velocity_planner): prevent crash with the downsampling function #7727

Closed maxime-clem closed 3 months ago

maxime-clem commented 3 months ago

Description

A bug in the downsampling function of the motion_velocity_planner could cause crashes. This PR fixes it.

Related links

Private Links:

How was this PR tested?

Psim Evaluator

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

github-actions[bot] commented 3 months ago

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 11.20%. Comparing base (507e3f4) to head (c1434b7). Report is 173 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #7727 +/- ## =========================================== - Coverage 14.84% 11.20% -3.65% =========================================== Files 1999 196 -1803 Lines 139163 17012 -122151 Branches 43716 3068 -40648 =========================================== - Hits 20661 1906 -18755 + Misses 95731 14745 -80986 + Partials 22771 361 -22410 ``` | [Flag](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/7727/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | Coverage Δ | | |---|---|---| | [differential](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/7727/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | `11.20% <100.00%> (?)` | | | [total](https://app.codecov.io/gh/autowarefoundation/autoware.universe/pull/7727/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | `?` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.