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(behavior_path_planner): fix lane change speed #3091

Merged
merged 13 commits into from
Mar 29, 2023

Conversation

purewater0901
Copy link
Contributor

@purewater0901 purewater0901 commented Mar 16, 2023

Description

Although autoware assumes the ego vehicle runs at a constant velocity while lane change, current code does not follow this rule. It assumes that the ego vehicle decelerates while doing lane change. This makes the vehicle speed unnecessary low while lane change.

In this PR, I changed the ego vehicle speed to a constant speed.

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.

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.

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

Signed-off-by: yutaka <purewater0901@gmail.com>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Mar 16, 2023
@codecov
Copy link

codecov bot commented Mar 16, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.13 ⚠️

Comparison is base (07fa672) 12.25% compared to head (d7e9ba3) 12.13%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3091      +/-   ##
==========================================
- Coverage   12.25%   12.13%   -0.13%     
==========================================
  Files        1358     1358              
  Lines       94724    95687     +963     
  Branches    26887    27620     +733     
==========================================
  Hits        11613    11613              
- Misses      70853    71756     +903     
- Partials    12258    12318      +60     
Flag Coverage Δ *Carryforward flag
differential 5.48% <0.00%> (?)
total 12.26% <ø> (+<0.01%) ⬆️ Carriedforward from 4cadbbe

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

Impacted Files Coverage Δ
...or_path_planner/util/path_shifter/path_shifter.hpp 0.00% <ø> (ø)
...rc/scene_module/lane_change/lane_change_module.cpp 0.00% <0.00%> (ø)
...ehavior_path_planner/src/util/lane_change/util.cpp 0.00% <0.00%> (ø)
...ath_planner/src/util/path_shifter/path_shifter.cpp 0.00% <0.00%> (ø)

... and 2 files with indirect coverage changes

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: yutaka <purewater0901@gmail.com>
Signed-off-by: yutaka <purewater0901@gmail.com>
}
const auto dist_from_end = target_lane_length - min_total_lane_changing_distance;
return std::min(dist_from_lc_start, dist_from_end);
return std::min(dist_from_lc_start, target_lane_length);
Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 Mar 24, 2023

Choose a reason for hiding this comment

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

As mentioned, this changed created bug for the multiple lane change. Therefore, please help to change the code accordingly.

Screenshot from 2023-03-24 09-21-39

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Isn't it too short to do the double lane change?

Signed-off-by: yutaka <purewater0901@gmail.com>
@purewater0901 purewater0901 merged commit d580fe2 into main Mar 29, 2023
@purewater0901 purewater0901 deleted the feat/fix-lane-change-speed branch March 29, 2023 10:49
xianglunkai pushed a commit to xianglunkai/autoware.universe that referenced this pull request Apr 3, 2023
Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>

Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
ktro2828 pushed a commit to ktro2828/autoware.universe that referenced this pull request Apr 7, 2023
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