-
Notifications
You must be signed in to change notification settings - Fork 691
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
feat(universe_utils): add GJK implementation for 2D convex polygon collision check #7853
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7853 +/- ##
==========================================
+ Coverage 28.94% 29.03% +0.09%
==========================================
Files 1607 1609 +2
Lines 117654 117820 +166
Branches 50633 50734 +101
==========================================
+ Hits 34053 34208 +155
- Misses 74482 74483 +1
- Partials 9119 9129 +10
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
6bec783
to
faad638
Compare
common/autoware_universe_utils/include/autoware/universe_utils/geometry/geometry.hpp
Outdated
Show resolved
Hide resolved
common/autoware_universe_utils/include/autoware/universe_utils/geometry/gjk_2d.hpp
Show resolved
Hide resolved
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
…llision check (autowarefoundation#7853) Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
…llision check (autowarefoundation#7853) Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
…llision check (autowarefoundation#7853) Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp> Signed-off-by: chtseng <chtseng@itri.org.tw>
…llision check (autowarefoundation#7853) Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Description
Implement the GJK algorithm allowing ~4x speed compared to
⚠️ the polygons must be convex.
boost::geometry::intersects
to determine if 2 polygons intersects.Related links
How was this PR tested?
Unit tests.
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.