autowarefoundation / autoware_lanelet2_extension

Extension library of Lanelet2
Apache License 2.0
1 stars 10 forks source link

perf(query): add faster getLinkedParkingLot function #19

Closed maxime-clem closed 4 months ago

maxime-clem commented 4 months ago

Description

Implement a more efficient getLinkedParkingLot that do not require providing ALL parking lots. Instead an efficient query on the lanelet map is used.

Needed for https://github.com/autowarefoundation/autoware.universe/pull/7930

Tests performed

Psim

Effects on system behavior

Not applicable.

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.

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.

Project coverage is 15.84%. Comparing base (98b1edb) to head (aa3ce3c).

Files Patch % Lines
autoware_lanelet2_extension/lib/query.cpp 0.00% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #19 +/- ## ========================================== - Coverage 15.88% 15.84% -0.05% ========================================== Files 40 40 Lines 2758 2765 +7 Branches 1346 1348 +2 ========================================== Hits 438 438 - Misses 2232 2239 +7 Partials 88 88 ``` | [Flag](https://app.codecov.io/gh/autowarefoundation/autoware_lanelet2_extension/pull/19/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | Coverage Δ | | *Carryforward flag | |---|---|---|---| | [differential](https://app.codecov.io/gh/autowarefoundation/autoware_lanelet2_extension/pull/19/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | `15.84% <0.00%> (-0.91%)` | :arrow_down: | | | [total](https://app.codecov.io/gh/autowarefoundation/autoware_lanelet2_extension/pull/19/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | `15.88% <ø> (ø)` | | Carriedforward from [98b1edb](https://app.codecov.io/gh/autowarefoundation/autoware_lanelet2_extension/commit/98b1edbcfcd660fb287c7ba63ce4009ef63631f9?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) | *This pull request uses carry forward flags. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=autowarefoundation) to find out more.

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