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(lane_change): consider max velocity during path planning #6615

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

Description

Lane change max velocity computation currently doesn't consider the parameterized input from common.max_vel. The result is that it causes the prepare path to be much longer than anticipated, plus, the results also affects the safety check, where the expected velocity is different from the actual velocity, which causes many safety check issues.

This PR aims to solve this by including the max_vel parameter

Before PR

Prepare path is long, plus safety check is difficult to be approved.

cap-.2024-03-14-16-28-56.mp4

After PR

Safety check is much simpler to be approved.

cap-.2024-03-14-16-30-28.mp4

Related links

Tests performed

TBA

Notes for reviewers

None

Interface changes

None

Effects on system behavior

None

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.

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Copy link
Contributor

@shmpwk shmpwk left a comment

Choose a reason for hiding this comment

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

LGTM

@shmpwk shmpwk added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Mar 14, 2024
Copy link

codecov bot commented Mar 14, 2024

Codecov Report

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

Project coverage is 14.79%. Comparing base (3ba1ecd) to head (bf60e12).
Report is 5 commits behind head on main.

Files Patch % Lines
...ing/behavior_path_lane_change_module/src/scene.cpp 0.00% 3 Missing ⚠️
...or_path_planner/src/behavior_path_planner_node.cpp 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6615      +/-   ##
==========================================
- Coverage   14.79%   14.79%   -0.01%     
==========================================
  Files        1920     1920              
  Lines      132358   132359       +1     
  Branches    39338    39344       +6     
==========================================
  Hits        19579    19579              
+ Misses      90940    90939       -1     
- Partials    21839    21841       +2     
Flag Coverage Δ *Carryforward flag
differential 10.76% <0.00%> (?)
total 14.79% <ø> (+<0.01%) ⬆️ Carriedforward from 3ba1ecd

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

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 merged commit 152b11e into autowarefoundation:main Mar 15, 2024
30 of 33 checks passed
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 deleted the fix-lane-change-max-vel branch March 15, 2024 02:29
yhisaki pushed a commit to yhisaki/autoware.universe that referenced this pull request Mar 15, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
zulfaqar-azmi-t4 added a commit to tier4/autoware.universe that referenced this pull request Mar 22, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
shmpwk pushed a commit to tier4/autoware.universe that referenced this pull request Mar 22, 2024
…efoundation#6615) (#1203)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
kaigohirao pushed a commit to kaigohirao/autoware.universe that referenced this pull request Mar 22, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: kaigohirao <kaigo.hirao@proxima-ai-tech.com>
shmpwk added a commit to tier4/autoware.universe that referenced this pull request Mar 24, 2024
zulfaqar-azmi-t4 added a commit to tier4/autoware.universe that referenced this pull request Mar 25, 2024
…efoundation#6615) (#1203)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
shmpwk pushed a commit to tier4/autoware.universe that referenced this pull request Mar 25, 2024
* fix(lane_change): consider max velocity during path planning (autowarefoundation#6615) (#1203)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fix the max_velocity not subscribed from motion velocity smoother

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Mar 28, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Mar 28, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
TomohitoAndo pushed a commit to tier4/autoware.universe that referenced this pull request Apr 1, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
zulfaqar-azmi-t4 added a commit to zulfaqar-azmi-t4/autoware.universe that referenced this pull request Apr 5, 2024
…efoundation#1206)

* fix(lane_change): consider max velocity during path planning (autowarefoundation#6615) (autowarefoundation#1203)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fix the max_velocity not subscribed from motion velocity smoother

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Apr 8, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
zulfaqar-azmi-t4 added a commit to zulfaqar-azmi-t4/autoware.universe that referenced this pull request Apr 9, 2024
…efoundation#1206)

* fix(lane_change): consider max velocity during path planning (autowarefoundation#6615) (autowarefoundation#1203)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fix the max_velocity not subscribed from motion velocity smoother

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Jun 6, 2024
…efoundation#6615)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
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) 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.

2 participants