Skip to content
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(map_loader): add support for local cartesian projection #9238

Merged

Conversation

sebekx
Copy link
Contributor

@sebekx sebekx commented Nov 5, 2024

lanelet map loader

Description

Add LocalCaretsian (WGS84) projection support to map_loader.

Requires:

Related links

How was this PR tested?

Used map_loaded to load lanelet with localCartesian(WGS84) projection.

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) component:common Common packages from the autoware-common repository. (auto-assigned) labels Nov 5, 2024
Copy link

github-actions bot commented Nov 5, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@sebekx sebekx force-pushed the feat/autoware_geography_utils branch from 0f6c927 to f9b945b Compare November 5, 2024 14:10
@sebekx sebekx changed the title feat(map_loader) add support for local cartesian projection to lanele… feat(map_loader): add support for local cartesian projection to lanele… Nov 5, 2024
@TaikiYamada4
Copy link
Contributor

@sebekx
Could you please share your thoughts why you recommend this change?
Adding a new mapping projection doesn't only influence the map_loader but also make effects to other modules such as gnss_poser, MapProjectorInfo.msg, and maybe more.

Since we cannot discuss or estimate the impact to the entire Autoware enough here, I would recommend you to create a discussion about adding LocalCartesian support to Autoware.

@sebekx
Copy link
Contributor Author

sebekx commented Nov 14, 2024

@sebekx Could you please share your thoughts why you recommend this change? Adding a new mapping projection doesn't only influence the map_loader but also make effects to other modules such as gnss_poser, MapProjectorInfo.msg, and maybe more.

Since we cannot discuss or estimate the impact to the entire Autoware enough here, I would recommend you to create a discussion about adding LocalCartesian support to Autoware.

We are using LocalCartesian in our stack with different implementation of localization components. Adding it in here shouldn't affect the system unless someone use it.

@TaikiYamada4
Copy link
Contributor

@sebekx

We are using LocalCartesian in our stack with different implementation of localization components. Adding it in here shouldn't affect the system unless someone use it.

If so, then please add the information in README.md that LocalCartesian can only be used in lanelet2_map_loader and packages like gnss_poser doesn't support it.

Then I suppose the changes here is OK, but it's only in my sense.
I'm not sure what the reviewers of the MapProjectorInfo.msg PR might say.

@sebekx
Copy link
Contributor Author

sebekx commented Nov 22, 2024

If so, then please add the information in README.md that LocalCartesian can only be used in lanelet2_map_loader and packages like gnss_poser doesn't support it.

Ok, thanks, I have updated readme.

@TaikiYamada4
Copy link
Contributor

@sebekx

Since map_loader will move to Autoware.Core
, you shall resolve the conflicts here and the conversations happening in the PR of tier4_map_msgs soon if this is urgent.
Unless, there might be some other tasks coming up after map_loader is moved to Autoware.Core

@xmfcx
Copy link
Contributor

xmfcx commented Feb 4, 2025

@sebekx
Copy link
Contributor Author

sebekx commented Feb 5, 2025

Copy link
Contributor

@TaikiYamada4 TaikiYamada4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm sorry for being late.
Could you fix this part?

@xmfcx xmfcx requested a review from TaikiYamada4 February 25, 2025 02:51
@xmfcx xmfcx added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 25, 2025
…et map loader

Signed-off-by: Sebastian Zęderowski <szederowski@autonomous-systems.pl>
Sebastian Zęderowski added 2 commits February 25, 2025 11:52
Signed-off-by: Sebastian Zęderowski <szederowski@autonomous-systems.pl>
Signed-off-by: Sebastian Zęderowski <szederowski@autonomous-systems.pl>
@xmfcx xmfcx force-pushed the feat/autoware_geography_utils branch from bbd286a to ced59fa Compare February 25, 2025 02:52
@xmfcx xmfcx changed the title feat(map_loader): add support for local cartesian projection to lanele… feat(map_loader): add support for local cartesian projection Feb 25, 2025
Signed-off-by: Mete Fatih Cırıt <mfc@autoware.org>
@xmfcx
Copy link
Contributor

xmfcx commented Feb 25, 2025

@TaikiYamada4 could you review again?

Copy link

codecov bot commented Feb 25, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 26.79%. Comparing base (a11a3ee) to head (bb1b679).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...ap_projection_loader/src/map_projection_loader.cpp 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9238   +/-   ##
=======================================
  Coverage   26.79%   26.79%           
=======================================
  Files        1395     1397    +2     
  Lines      107936   107941    +5     
  Branches    41545    41549    +4     
=======================================
+ Hits        28918    28926    +8     
+ Misses      76141    76138    -3     
  Partials     2877     2877           
Flag Coverage Δ *Carryforward flag
differential 4.50% <50.00%> (?)
total 26.79% <ø> (+<0.01%) ⬆️ Carriedforward from 3a73341

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@TaikiYamada4 TaikiYamada4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TaikiYamada4 TaikiYamada4 merged commit 1758df5 into autowarefoundation:main Feb 26, 2025
34 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:map Map creation, storage, and loading. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants