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(start_planner): add current lanes as member var #9518

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

danielsanchezaran
Copy link
Contributor

@danielsanchezaran danielsanchezaran commented Nov 28, 2024

Description

Current lanelets are computed around 7-8 times in the code, by moving them as part of start plannerdata, we reduce code size and reduce possible errors. performance might improve very lightly.

Related links

Parent Issue:

  • Link

How was this PR tested?

PSim
degradation tests: https://evaluation.tier4.jp/evaluation/reports/6780245d-af96-5548-b5f1-0727fc54310a?project_id=prd_jt

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@danielsanchezaran danielsanchezaran marked this pull request as ready for review November 28, 2024 09:06
@github-actions github-actions bot added component:planning Route planning, decision-making, and navigation. (auto-assigned) type:ci Continuous Integration (CI) processes and testing. (auto-assigned) labels Nov 28, 2024
Copy link

github-actions bot commented Nov 28, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@danielsanchezaran danielsanchezaran force-pushed the feat/add-current-lanes-as-member-var branch from 6ed664a to d1ce2fd Compare November 28, 2024 09:07
@github-actions github-actions bot removed the type:ci Continuous Integration (CI) processes and testing. (auto-assigned) label Nov 28, 2024
@danielsanchezaran danielsanchezaran added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 28, 2024
Copy link

codecov bot commented Nov 28, 2024

Codecov Report

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

Project coverage is 29.48%. Comparing base (45a3c48) to head (c43d878).

Files with missing lines Patch % Lines
..._start_planner_module/src/start_planner_module.cpp 0.00% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9518      +/-   ##
==========================================
- Coverage   29.52%   29.48%   -0.04%     
==========================================
  Files        1441     1446       +5     
  Lines      108565   108624      +59     
  Branches    41490    41492       +2     
==========================================
- Hits        32056    32030      -26     
- Misses      73387    73475      +88     
+ Partials     3122     3119       -3     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 29.50% <ø> (-0.03%) ⬇️ Carriedforward from 45a3c48

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

… reduce code repetition

Signed-off-by: Daniel Sanchez <[email protected]>
@danielsanchezaran danielsanchezaran force-pushed the feat/add-current-lanes-as-member-var branch from d1ce2fd to c43d878 Compare November 29, 2024 02:55
@github-actions github-actions bot added the type:ci Continuous Integration (CI) processes and testing. (auto-assigned) label Nov 29, 2024
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara left a comment

Choose a reason for hiding this comment

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

code change LGTM! If there is no degradation in the scenario evaluation's result.
Please change to appropriate conventional-commit-types with refactor from feat.

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:ci Continuous Integration (CI) processes and testing. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants