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(lane_change): update resamplePath function for target section #2622

Merged

Conversation

TakaHoribe
Copy link
Contributor

@TakaHoribe TakaHoribe commented Jan 10, 2023

Description

To reduce the computational cost of the LaneChange module, the target_section is introduced for the spline resampling.

Related links

Tests performed

Run on psim. The Hz increases from 1.8Hz to 4.4Hz when making lane change path candidate with 10m/s ego speed.

Before: 1.8Hz
image

After 4.4Hz
image

Notes for reviewers

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jan 10, 2023
Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
@TakaHoribe TakaHoribe force-pushed the lane-change-resample-target-section branch from 547fa45 to f1044f9 Compare January 10, 2023 04:52
@codecov
Copy link

codecov bot commented Jan 10, 2023

Codecov Report

Base: 11.49% // Head: 11.47% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (916f8c6) compared to base (9b8d079).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2622      +/-   ##
==========================================
- Coverage   11.49%   11.47%   -0.02%     
==========================================
  Files        1271     1271              
  Lines       88414    88568     +154     
  Branches    23314    23419     +105     
==========================================
+ Hits        10165    10166       +1     
- Misses      67478    67624     +146     
- Partials    10771    10778       +7     
Flag Coverage Δ *Carryforward flag
differential 5.13% <0.00%> (?)
total 11.49% <0.00%> (ø) Carriedforward from f91f1a2

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

Impacted Files Coverage Δ
...nning/behavior_path_planner/src/path_utilities.cpp 0.00% <0.00%> (ø)
...path_planner/src/scene_module/lane_change/util.cpp 0.00% <0.00%> (ø)
...anner/src/scene_module/pull_over/goal_searcher.cpp 0.00% <0.00%> (ø)
.../behavior_path_planner/src/turn_signal_decider.cpp 35.89% <0.00%> (+0.33%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
@TakaHoribe
Copy link
Contributor Author

This is an alternative to #2545

Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
@tkimura4 tkimura4 enabled auto-merge (squash) January 11, 2023 01:44
@tkimura4 tkimura4 merged commit 4b26217 into autowarefoundation:main Jan 11, 2023
@tkimura4 tkimura4 deleted the lane-change-resample-target-section branch January 11, 2023 02:41
tkimura4 added a commit to tier4/autoware.universe that referenced this pull request Jan 11, 2023
…utowarefoundation#2622)

* feat(lane_change): update resamplePath function for target section

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* update

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix: apply pre-commit

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Co-authored-by: tomoya.kimura <tomoya.kimura@tier4.jp>
tkimura4 added a commit to tier4/autoware.universe that referenced this pull request Jan 11, 2023
…utowarefoundation#2622) (#239)

* feat(lane_change): update resamplePath function for target section

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* update

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* fix: apply pre-commit

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Co-authored-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Signed-off-by: Takamasa Horibe <horibe.takamasa@gmail.com>
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants