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): relax finish judge #8133

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 commented Jul 22, 2024

Description

⚠️ Require this PR to be merged together (autowarefoundation/autoware_launch#1087)

Current lane change finish judge requires both of the following condition

  1. Ego vehicle drive pass the end pose, and
  2. Ego vehicle is near target lane center line.

However, in situation when lc is running simultaneously with other module especially avoidance module, it will be difficult to pass both condition at the same time. Furthermore, passing both situation is unnecessary.

Before PR, the following simulation will not cause lane change to complete. The video is after PR is made.

cap-.2024-05-30-19-14-35.mp4

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Additions and removals

Change type Parameter Name Type Default Value Description
Added finish_judge_lateral_angle_deviation double 1.0 Unit is degree. Ego vehicle angle deviation to judge lane change finished

Modifications

Version Parameter Name Type Default Value Description
Old finish_judge_lateral_threshold double 0.2 lateral distance to judge lane change has finished
New finish_judge_lateral_threshold double 0.1 lateral distance to judge lane change has finished

Effects on system behavior

None.

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

github-actions bot commented Jul 22, 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-6514-LC-Avoidance-goal-planner-node-dying branch 2 times, most recently from a40727b to dda9539 Compare July 24, 2024 03:02
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-6514-LC-Avoidance-goal-planner-node-dying branch from dda9539 to 8b1c4f1 Compare July 24, 2024 07:46
@github-actions github-actions bot added the type:documentation Creating or refining documentation. (auto-assigned) label Jul 24, 2024
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 added the tag:deploy-docs Mark for deploy-docs action generation. (used-by-ci) label Jul 24, 2024
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-6514-LC-Avoidance-goal-planner-node-dying branch from 405a9d9 to 90058b8 Compare July 25, 2024 05:39
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-6514-LC-Avoidance-goal-planner-node-dying branch 2 times, most recently from ef01317 to 1f579bb Compare August 1, 2024 03:51
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the RT1-6514-LC-Avoidance-goal-planner-node-dying branch from 1f579bb to bdc01c4 Compare August 1, 2024 06:28
@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 Aug 1, 2024
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Copy link

codecov bot commented Aug 2, 2024

Codecov Report

Attention: Patch coverage is 22.22222% with 14 lines in your changes missing coverage. Please review.

Project coverage is 10.91%. Comparing base (3d849e9) to head (c6f31fb).
Report is 975 commits behind head on main.

Files Patch % Lines
...are_behavior_path_lane_change_module/src/scene.cpp 0.00% 9 Missing ⚠️
...havior_path_lane_change_module/src/utils/utils.cpp 0.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8133       +/-   ##
===========================================
- Coverage   15.09%   10.91%    -4.18%     
===========================================
  Files        1967      267     -1700     
  Lines      135941    27467   -108474     
  Branches    42122     4853    -37269     
===========================================
- Hits        20520     2998    -17522     
+ Misses      92700    24093    -68607     
+ Partials    22721      376    -22345     
Flag Coverage Δ
differential 10.91% <22.22%> (?)
total ?

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 merged commit 43439ac into autowarefoundation:main Aug 2, 2024
28 of 30 checks passed
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 deleted the RT1-6514-LC-Avoidance-goal-planner-node-dying branch August 2, 2024 07:22
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Aug 5, 2024
* fix(lane_change): relax finish judge

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

* documentation update

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

* update readme explanations

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

* update config

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>
zulfaqar-azmi-t4 added a commit to tier4/autoware.universe that referenced this pull request Aug 7, 2024
* fix(lane_change): relax finish judge

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

* documentation update

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

* update readme explanations

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

* update config

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>
zulfaqar-azmi-t4 added a commit to tier4/autoware.universe that referenced this pull request Aug 13, 2024
* fix(lane_change): relax finish judge

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

* documentation update

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

* update readme explanations

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

* update config

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>
esteve pushed a commit to esteve/autoware.universe that referenced this pull request Aug 13, 2024
* fix(lane_change): relax finish judge

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

* documentation update

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

* update readme explanations

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

* update config

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>
saka1-s pushed a commit to saka1-s/autoware.universe that referenced this pull request Aug 15, 2024
* fix(lane_change): relax finish judge

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

* documentation update

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

* update readme explanations

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

* update config

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>
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:deploy-docs Mark for deploy-docs action generation. (used-by-ci) 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.

2 participants