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(lane_change): replace any code that can use transient data #8999

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 commented Oct 1, 2024

Description

This PR refactors lane change code using TransientData to improve code quality and readability, and reduce complexity.

The function that is no longer used is removed.
Also is_ego stuck is added to transient data.

Related links

Parent Issue:

  • Link

How was this PR tested?

TIER IV internal evaluator
TIER IV internal evaluator - after swapping filterObjects

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Oct 1, 2024
Copy link

github-actions bot commented Oct 1, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8004-replace-any-code-that-can-use-transient-data branch from eef3cc4 to 91b60e9 Compare October 3, 2024 07:26
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8004-replace-any-code-that-can-use-transient-data branch from 91b60e9 to 67114cc Compare October 4, 2024 05:37
@github-actions github-actions bot added the type:documentation Creating or refining documentation. (auto-assigned) label Oct 4, 2024
Copy link
Contributor

@mkquda mkquda left a comment

Choose a reason for hiding this comment

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

LGTM.

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 4, 2024
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 enabled auto-merge (squash) October 4, 2024 06:39
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 merged commit 85f578c into autowarefoundation:main Oct 4, 2024
35 of 36 checks passed
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 deleted the RT1-8004-replace-any-code-that-can-use-transient-data branch October 4, 2024 06:53
Copy link

codecov bot commented Oct 4, 2024

Codecov Report

Attention: Patch coverage is 2.12766% with 46 lines in your changes missing coverage. Please review.

Project coverage is 26.22%. Comparing base (3288946) to head (24548b8).
Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
...are_behavior_path_lane_change_module/src/scene.cpp 0.00% 46 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8999   +/-   ##
=======================================
  Coverage   26.21%   26.22%           
=======================================
  Files        1302     1303    +1     
  Lines       96925    96913   -12     
  Branches    39159    39132   -27     
=======================================
+ Hits        25409    25411    +2     
+ Misses      68928    68911   -17     
- Partials     2588     2591    +3     
Flag Coverage Δ *Carryforward flag
differential 15.54% <2.12%> (?)
total 26.23% <ø> (+0.02%) ⬆️ Carriedforward from 3288946

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants