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): cancel hysteresis #844

Conversation

zulfaqar-azmi-t4
Copy link
Contributor

Description

Adding hysteresis to lane change cancel.
Previously, once lane change path is approved, if it is unsafe, the module will cancel the path immediately.

Problem with current method

If there are chances that the approval chatters due to the path being safe and unsafe often.
This might be caused by the dismal positional differences between ego and target objects at every time instance.

What this PR do

With this new feature, the path will only be cancelled if the number of unsafe count exceed unsafe_hysteresis_threshold.

Related links

Tests performed

Notes for reviewers

Interface changes

Effects on system behavior

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.

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the feat-lane-change-cancel-hysteresis branch 2 times, most recently from e83ffab to 75617cd Compare February 15, 2024 06:06
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 marked this pull request as ready for review February 15, 2024 06:09
Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 force-pushed the feat-lane-change-cancel-hysteresis branch from 75617cd to cc56b07 Compare February 19, 2024 06:53
Signed-off-by: Zulfaqar Azmi <[email protected]>
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 merged commit 9b750b1 into autowarefoundation:main Feb 21, 2024
9 of 10 checks passed
@zulfaqar-azmi-t4 zulfaqar-azmi-t4 deleted the feat-lane-change-cancel-hysteresis branch February 21, 2024 03:00
yuki-takagi-66 pushed a commit to tier4/autoware_launch that referenced this pull request Jul 3, 2024
technolojin pushed a commit to technolojin/autoware_launch that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants