Closed danielsanchezaran closed 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:
Attention: Patch coverage is 0%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 0.00%. Comparing base (
3d849e9
) to head (5fdb157
). Report is 535 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
...autoware_autonomous_emergency_braking/src/node.cpp | 0.00% | 2 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
Due to the use of resize() the path vector generates a vector full of path points with position x:0 y:0 z:0 . This causes the AEB module to generate a wrong polygon path (because the last path poses are located at the base link).
This PR fixes the issue by doing reserve() instead, which seems like the original intention of the original commit.
Related links
Parent Issue:
How was this PR tested?
Before: The polygon is disjointed and an NPC is wrongly detected as an obstacle.
After: The polygons are correct and no collision is detected!
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.