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(obstacle_cruise_planner): hysteresis for slow down decision #3743

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented May 17, 2023

Description

We set the detection area to select slow down obstacles.
When the obstacle is on the longitudinal edge of the detection area with some noises, the slow down decision flickers.
To avoid this, this PR uses hysteresis condition to check if the object is inside the detection area or not.

Tests performed

planning simulator

Effects on system behavior

No flickering of slow down obstacle decision.

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.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label May 17, 2023
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@takayuki5168 takayuki5168 marked this pull request as ready for review May 18, 2023 06:11
@takayuki5168 takayuki5168 requested review from purewater0901 and a team as code owners May 18, 2023 06:11
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
@takayuki5168 takayuki5168 force-pushed the feat/hysteris-for-slow-down-decision branch from 702623b to 1ea3616 Compare May 18, 2023 06:12
@codecov
Copy link

codecov bot commented May 18, 2023

Codecov Report

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

Comparison is base (cf4e9ba) 14.46% compared to head (1ea3616) 14.46%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3743      +/-   ##
==========================================
- Coverage   14.46%   14.46%   -0.01%     
==========================================
  Files        1432     1432              
  Lines      100844   100853       +9     
  Branches    29770    29775       +5     
==========================================
  Hits        14588    14588              
- Misses      70409    70416       +7     
- Partials    15847    15849       +2     
Flag Coverage Δ *Carryforward flag
differential 9.15% <0.00%> (?)
total 14.46% <ø> (+<0.01%) ⬆️ Carriedforward from cf4e9ba

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

Impacted Files Coverage Δ
planning/obstacle_cruise_planner/src/node.cpp 13.07% <0.00%> (-0.20%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@takayuki5168 takayuki5168 merged commit 08ca5df into autowarefoundation:main May 19, 2023
@takayuki5168 takayuki5168 deleted the feat/hysteris-for-slow-down-decision branch May 19, 2023 05:31
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request May 20, 2023
…owarefoundation#3743)

* feat(obstacle_cruise_planner): hysteresis for slow down decision

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update config

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request May 20, 2023
…owarefoundation#3743)

* feat(obstacle_cruise_planner): hysteresis for slow down decision

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update config

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request May 21, 2023
…owarefoundation#3743)

* feat(obstacle_cruise_planner): hysteresis for slow down decision

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update config

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request May 21, 2023
…owarefoundation#3743)

* feat(obstacle_cruise_planner): hysteresis for slow down decision

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

* update config

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>

---------

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
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.

2 participants