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_stop_planner): prevent from obstacle hunting #1458

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Jul 28, 2022

Signed-off-by: satoshi-ota satoshi.ota928@gmail.com

Description

In this PR, I fixed stop (slowdown) judge logic in order to prevent from judgement hunting.

  • Add hunting_threshold (default: 0.5[s])
  • Even if the obstacle disappears, the stop judgment continues for hunting_threshold seconds.

test perform (hunting_threshold = 2.0 [s])

simplescreenrecorder-2022-07-29_07.36.01.mp4

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.

@codecov
Copy link

codecov bot commented Jul 28, 2022

Codecov Report

Merging #1458 (759aa41) into main (3f90850) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1458      +/-   ##
==========================================
- Coverage   10.30%   10.25%   -0.05%     
==========================================
  Files        1128     1128              
  Lines       72707    73047     +340     
  Branches    17929    17929              
==========================================
  Hits         7489     7489              
- Misses      57449    57789     +340     
  Partials     7769     7769              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 10.30% <0.00%> (ø) Carriedforward from 3f90850

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

Impacted Files Coverage Δ
...planner/include/scene_module/stop_line/manager.hpp 0.00% <ø> (ø)
...ocity_planner/src/scene_module/stop_line/debug.cpp 0.00% <0.00%> (ø)
...ity_planner/src/scene_module/stop_line/manager.cpp 0.00% <0.00%> (ø)
...ocity_planner/src/scene_module/stop_line/scene.cpp 0.00% <0.00%> (ø)
planning/obstacle_stop_planner/src/node.cpp 0.00% <0.00%> (ø)
...lanning/obstacle_stop_planner/src/debug_marker.cpp 0.00% <0.00%> (ø)
...tacle_stop_planner/src/adaptive_cruise_control.cpp 0.00% <0.00%> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e7dfa19...759aa41. Read the comment docs.

@satoshi-ota satoshi-ota marked this pull request as ready for review July 29, 2022 00:44
@satoshi-ota satoshi-ota requested review from TakaHoribe and h-ohta July 29, 2022 00:45
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota
Copy link
Contributor Author

Copy link
Contributor

@TakaHoribe TakaHoribe left a comment

Choose a reason for hiding this comment

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

LGTM

@satoshi-ota satoshi-ota enabled auto-merge (squash) August 3, 2022 05:26
@satoshi-ota satoshi-ota merged commit 3f25602 into autowarefoundation:main Aug 3, 2022
@satoshi-ota satoshi-ota deleted the feat/prevent-stop-judge-hunting branch August 3, 2022 05:40
@h-ohta
Copy link
Contributor

h-ohta commented Aug 5, 2022

#1116

boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1222-takeshi referenced this pull request in tier4/autoware.universe Oct 13, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1222-takeshi referenced this pull request in tier4/autoware.universe Oct 13, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1222-takeshi referenced this pull request in tier4/autoware.universe Oct 13, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
yukke42 pushed a commit to tzhong518/autoware.universe that referenced this pull request Oct 14, 2022
…oundation#1458)

* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1222-takeshi referenced this pull request in tier4/autoware.universe Oct 18, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
kosuke55 referenced this pull request in tier4/autoware.universe Nov 10, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
kosuke55 referenced this pull request in tier4/autoware.universe Nov 30, 2022
* feat(obstacle_stop_planner): prevent from obstacle hunting

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* docs(obstacle_stop_planner): add common parameter description

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix(obstacle_stop_planner): fix bug

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
sfukuta referenced this pull request in tier4/autoware.universe Aug 2, 2023
Signed-off-by: Shigekazu Fukuta <shigekazu.fukuta@tier4.jp>
sfukuta referenced this pull request in tier4/autoware.universe Dec 19, 2023
* Adapted from PR #1458

Signed-off-by: Shigekazu Fukuta <shigekazu.fukuta@tier4.jp>

* Adapted from PR #1627

Signed-off-by: Shigekazu Fukuta <shigekazu.fukuta@tier4.jp>

* fix parameter name

Signed-off-by: Shigekazu Fukuta <shigekazu.fukuta@tier4.jp>

* Adapted from PR autowarefoundation#2647

Signed-off-by: Shigekazu Fukuta <shigekazu.fukuta@tier4.jp>

* ci(pre-commit): autofix

* fix build error

* ci(pre-commit): autofix

* remove comment line

* remove logic

* Delete parameters other than those added this time

* ci(pre-commit): autofix

* add stop vehicle check

* ci(pre-commit): autofix

* fix stop velocity threshold

* fix engage obstacle clear and stop threshold

* ci(pre-commit): autofix

---------

Signed-off-by: Shigekazu Fukuta <shigekazu.fukuta@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
technolojin pushed a commit to technolojin/autoware.universe that referenced this pull request Aug 15, 2024
…cherry-pick-avoidance

perf(static_obstacle_avoidance): improve logic to reduce computational cost (autowarefoundation#8432)
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.

3 participants