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

fix(autoware_gnss_poser): depend on geographiclib through its Find module #313

Merged

Conversation

sloretz
Copy link
Contributor

@sloretz sloretz commented Mar 25, 2025

Description

This fixes building the autoware_gnss_poser package on Ubuntu Noble. I replaced all the find package stuff with using the find module provided by Geographic lib. The call to target_link_libraries() wasn't needed because ament_auto_add_library() automatically depends on it because the rosdep key name matches the find module name: geographiclib

Related links

Parent Issue:

  • Link

How was this PR tested?

I'm building on Ubuntu Noble using ament/ament_cmake#571

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Copy link

github-actions bot commented Mar 25, 2025

Thank you for contributing to the Autoware project!

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

Please ensure:

@liuXinGangChina liuXinGangChina added run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) component:localization Vehicle's position determination in its environment. (auto-assigned) labels Mar 26, 2025
@liuXinGangChina
Copy link
Contributor

hi @sloretz

Thanks for improve the cmakelists file,

Let me check it in autoware offcial docker
feedback to you soon

心刚

Copy link

codecov bot commented Mar 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (4cb18f5) to head (7c138fc).
Report is 126 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #313       +/-   ##
==========================================
- Coverage   78.75%   0.00%   -78.76%     
==========================================
  Files          11       4        -7     
  Lines         193     272       +79     
  Branches       73      20       -53     
==========================================
- Hits          152       0      -152     
- Misses         11     272      +261     
+ Partials       30       0       -30     
Flag Coverage Δ
differential 0.00% <ø> (?)
total ?

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sloretz sloretz changed the title fix: depend on geographiclib through its Find module fix(autoware_gnss_poser): depend on geographiclib through its Find module Mar 26, 2025
Signed-off-by: Shane Loretz <sloretz@intrinsic.ai>
@liuXinGangChina liuXinGangChina force-pushed the sloretz_fix_finding_geographiclib branch from 83e21e8 to 7c138fc Compare March 27, 2025 02:40
Copy link
Contributor

@liuXinGangChina liuXinGangChina left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution @sloretz

I have test your pr with AWF official devel docker image, and everything goes well .

Best regrads

心刚

Copy link
Member

@youtalk youtalk left a comment

Choose a reason for hiding this comment

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

Nice improvement. LGTM

@youtalk youtalk merged commit 56cae82 into autowarefoundation:main Mar 27, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants