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(dynamic_avoidance): object polygon based drivable area generation #4598

Conversation

takayuki5168
Copy link
Contributor

@takayuki5168 takayuki5168 commented Aug 11, 2023

Description

Dynamic obstacles' polygons to avoid are removed from the drivable area in the dynamic avoidance module.

Currently, the polygons are generated on the ego's path frame.
The method has a limitation case as follows.
image

Ideally, the polygons should be generated on the object's path frame as follows, resulting in successful avoidance.
image

By default, this PR's change is not used since the object path is unstable for now.
If it becomes stable, the polygon generation method will be the object path frame.

Tests performed

planning simulator

Effects on system behavior

Nothing

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: Takayuki Murooka <takayuki5168@gmail.com>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Aug 11, 2023
@takayuki5168 takayuki5168 marked this pull request as ready for review August 11, 2023 15:02
@takayuki5168 takayuki5168 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 11, 2023
@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

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

Comparison is base (2b7afb1) 14.83% compared to head (872afcc) 14.83%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4598      +/-   ##
==========================================
- Coverage   14.83%   14.83%   -0.01%     
==========================================
  Files        1529     1529              
  Lines      105769   105799      +30     
  Branches    32221    32240      +19     
==========================================
  Hits        15696    15696              
- Misses      72914    72943      +29     
- Partials    17159    17160       +1     
Flag Coverage Δ *Carryforward flag
differential 13.08% <0.00%> (?)
total 14.84% <ø> (+<0.01%) ⬆️ Carriedforward from 2b7afb1

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

Files Changed Coverage Δ
...ule/dynamic_avoidance/dynamic_avoidance_module.hpp 0.00% <ø> (ø)
...ule/dynamic_avoidance/dynamic_avoidance_module.cpp 0.00% <0.00%> (ø)
...ner/src/scene_module/dynamic_avoidance/manager.cpp 0.00% <0.00%> (ø)

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

Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

cool!

@takayuki5168 takayuki5168 merged commit 58d8e8e into autowarefoundation:main Aug 12, 2023
@takayuki5168 takayuki5168 deleted the feat/object-polygon-based-dynamic-avoidance branch August 12, 2023 04:00
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Aug 12, 2023
kyoichi-sugahara added a commit that referenced this pull request Aug 15, 2023
…tory (#4549)

* add feature for getting predicted path deviation from trajectory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix for build success

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix topic name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* minor refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* change function name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add control validator

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* add max_deviation calculation

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* update launch

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* change maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* feat(dynamic_avoidance): object polygon based drivable area generation (#4598)

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

* update

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* update README

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix typo

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* apply clang-tidy check

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* Update control/control_validator/include/control_validator/utils.hpp

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove debug code

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
LeoDriveProject pushed a commit to leo-drive/autoware.universe.golf that referenced this pull request Aug 16, 2023
LeoDriveProject pushed a commit to leo-drive/autoware.universe.golf that referenced this pull request Aug 16, 2023
…tory (autowarefoundation#4549)

* add feature for getting predicted path deviation from trajectory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix for build success

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix topic name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* minor refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* change function name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add control validator

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* add max_deviation calculation

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* update launch

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* change maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* feat(dynamic_avoidance): object polygon based drivable area generation (autowarefoundation#4598)

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

* update

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* update README

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix typo

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* apply clang-tidy check

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* Update control/control_validator/include/control_validator/utils.hpp

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove debug code

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Aug 21, 2023
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Aug 21, 2023
…tory (autowarefoundation#4549)

* add feature for getting predicted path deviation from trajectory

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix for build success

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix topic name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* temp

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* cut off extra length on predicted path

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* minor refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* change function name

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add control validator

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* add max_deviation calculation

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* update launch

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* change maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* refactor

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* style(pre-commit): autofix

* feat(dynamic_avoidance): object polygon based drivable area generation (autowarefoundation#4598)

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

* update

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* update README

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* fix typo

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* apply clang-tidy check

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* Update control/control_validator/include/control_validator/utils.hpp

Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>

* remove debug code

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

* add maintainer

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>

---------

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Takayuki Murooka <takayuki5168@gmail.com>
Co-authored-by: Takamasa Horibe <horibe.takamasa@gmail.com>
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request Aug 30, 2023
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request Nov 26, 2023
takayuki5168 added a commit to tier4/autoware.universe that referenced this pull request Dec 25, 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) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants