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

refactor(autoware_test_utils): enhance makeMapBinMsg to accept package name and map filename parameters #9617

Conversation

kyoichi-sugahara
Copy link
Contributor

Description

  • Add optional parameters to makeMapBinMsg function to allow specifying custom package name and map filename
  • Update documentation for makeMapBinMsg to reflect new parameters
  • Add optional parameters to createPoseFromLaneID and makeBehaviorRouteFromLaneId to support custom map loading
  • Set default values to maintain backward compatibility (package_name="", map_filename="lanelet2_map.osm")

This change is necessary to use a different map than the default one when calling the function makeBehaviorRouteFromLaneId to generate a route.

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added component:planning Route planning, decision-making, and navigation. (auto-assigned) component:common Common packages from the autoware-common repository. (auto-assigned) labels Dec 11, 2024
Copy link

github-actions bot commented Dec 11, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

…Msg and related functions

Signed-off-by: kyoichi-sugahara <[email protected]>
@kyoichi-sugahara kyoichi-sugahara added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Dec 11, 2024
Copy link

codecov bot commented Dec 11, 2024

Codecov Report

Attention: Patch coverage is 16.66667% with 10 lines in your changes missing coverage. Please review.

Project coverage is 29.67%. Comparing base (3cfb03e) to head (53a04da).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...t_manager/autoware_planning_test_manager_utils.hpp 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9617      +/-   ##
==========================================
+ Coverage   29.54%   29.67%   +0.13%     
==========================================
  Files        1443     1450       +7     
  Lines      108489   111341    +2852     
  Branches    41391    43226    +1835     
==========================================
+ Hits        32055    33043     +988     
- Misses      73323    75005    +1682     
- Partials     3111     3293     +182     
Flag Coverage Δ *Carryforward flag
differential 31.94% <25.00%> (?)
total 29.48% <0.00%> (-0.06%) ⬇️ Carriedforward from 53a960e

*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.

@kyoichi-sugahara kyoichi-sugahara removed the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Dec 12, 2024
@kyoichi-sugahara kyoichi-sugahara added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Dec 12, 2024
Copy link
Contributor

@TakaHoribe TakaHoribe left a comment

Choose a reason for hiding this comment

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

This PR changes the function argument interface to get caller module information. LGTM

@kyoichi-sugahara kyoichi-sugahara merged commit 41ca768 into autowarefoundation:main Dec 12, 2024
44 of 46 checks passed
@kyoichi-sugahara kyoichi-sugahara deleted the refactor/autoware_test_utils/specify_map_path branch December 12, 2024 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:common Common packages from the autoware-common repository. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants