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): cap ego's predicted path velocity (RT1-8505) #9341

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 commented Nov 15, 2024

Description

the current ego predicted path velocity doesn’t have any maximum limit put into it.

However, it should have limit, since for each lane change path, there is prepare velocity and lane changing velocity assigned to it.

With the current computation, the velocity might exceed prepare velocity and lane changing velocity.

Before

screenshot-20241129-051824Z

The polygon is longer.

After

The size of the polygon is reduced.

screenshot-20241129-051638Z

Related links

Parent Issue:

  • Link

How was this PR tested?

  1. PSIM
  2. Internal evaluator TIER IV Internal link

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 Nov 15, 2024
Copy link

github-actions bot commented Nov 15, 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-8505-cap-ego-predicted-path-velocity branch 2 times, most recently from 03b38f7 to 29f942c Compare November 28, 2024 13:57
@github-actions github-actions bot added the type:ci Continuous Integration (CI) processes and testing. (auto-assigned) label Nov 28, 2024
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8505-cap-ego-predicted-path-velocity branch 2 times, most recently from fdb2aa8 to 69e9625 Compare November 29, 2024 05:11
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 marked this pull request as ready for review November 29, 2024 05:23
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 29, 2024
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-8505-cap-ego-predicted-path-velocity branch from 69e9625 to cac877c Compare November 29, 2024 06:21
@github-actions github-actions bot removed the type:ci Continuous Integration (CI) processes and testing. (auto-assigned) label Nov 29, 2024
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 enabled auto-merge (squash) November 29, 2024 06:23
Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.51%. Comparing base (996336f) to head (cac877c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9341      +/-   ##
==========================================
+ Coverage   29.50%   29.51%   +0.01%     
==========================================
  Files        1441     1443       +2     
  Lines      108596   108614      +18     
  Branches    41502    41501       -1     
==========================================
+ Hits        32038    32058      +20     
+ Misses      73438    73436       -2     
  Partials     3120     3120              
Flag Coverage Δ *Carryforward flag
differential 22.10% <100.00%> (?)
total 29.51% <ø> (+<0.01%) ⬆️ Carriedforward from 996336f

*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 70e4cd6 into autowarefoundation:main Nov 29, 2024
32 checks passed
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 deleted the RT1-8505-cap-ego-predicted-path-velocity branch November 29, 2024 06:57
zulfaqar-azmi-t4 added a commit to tier4/autoware.universe that referenced this pull request Dec 19, 2024
…arefoundation#9341)

* fix(lane_change): cap ego's predicted path velocity (RT1-8505)

Signed-off-by: Zulfaqar Azmi <[email protected]>

* properly cap based on 0.0 instead of min lc vel

Signed-off-by: Zulfaqar Azmi <[email protected]>

* fix build error

Signed-off-by: Zulfaqar Azmi <[email protected]>

---------

Signed-off-by: Zulfaqar Azmi <[email protected]>
zulfaqar-azmi-t4 added a commit to tier4/autoware.universe that referenced this pull request Dec 19, 2024
…arefoundation#9341)

* fix(lane_change): cap ego's predicted path velocity (RT1-8505)

Signed-off-by: Zulfaqar Azmi <[email protected]>

* properly cap based on 0.0 instead of min lc vel

Signed-off-by: Zulfaqar Azmi <[email protected]>

* fix build error

Signed-off-by: Zulfaqar Azmi <[email protected]>

---------

Signed-off-by: Zulfaqar Azmi <[email protected]>
kyoichi-sugahara pushed a commit to tier4/autoware.universe that referenced this pull request Dec 20, 2024
…arefoundation#9341)

* fix(lane_change): cap ego's predicted path velocity (RT1-8505)

Signed-off-by: Zulfaqar Azmi <[email protected]>

* properly cap based on 0.0 instead of min lc vel

Signed-off-by: Zulfaqar Azmi <[email protected]>

* fix build error

Signed-off-by: Zulfaqar Azmi <[email protected]>

---------

Signed-off-by: Zulfaqar Azmi <[email protected]>
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