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: add down sample filter before detection module #961

Merged

Conversation

tkimura4
Copy link
Contributor

@tkimura4 tkimura4 commented May 25, 2022

Signed-off-by: tomoya.kimura tomoya.kimura@tier4.jp

Description

  • add down sample filter before detection module (optional; default: off)
    By inserting down sample filter, the calculation cost of voxel_based_compare_map_filter is reduced.

  • use pointcloud_container for voxel_based_compare_map_filter and down_sample_filter
    By using intra_process, it is possible to reduce the cost in communication of a huge point cloud.

Related links

Tests performed

tested by rosbag. I confirmed that the detection module works both when use_down_sample_filter is true and false

Notes for reviewers

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.

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
tkimura4 and others added 9 commits May 26, 2022 19:42
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…tion/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
…tion/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
…mura4/autoware.universe into feature/down_sample_before_detection
Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
…mura4/autoware.universe into feature/down_sample_before_detection
@yukkysaito yukkysaito self-requested a review May 26, 2022 10:57
Copy link
Contributor

@yukkysaito yukkysaito left a comment

Choose a reason for hiding this comment

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

LGTM

@tkimura4 tkimura4 merged commit f238d96 into autowarefoundation:main May 26, 2022
@tkimura4 tkimura4 deleted the feature/down_sample_before_detection branch May 26, 2022 12:54
@tkimura4 tkimura4 mentioned this pull request May 30, 2022
4 tasks
ktro2828 pushed a commit to ktro2828/autoware.universe that referenced this pull request Jun 7, 2022
…ion#961)

* feat: add down sample filter before detection module

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* fix format

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* change comment

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* add output topic

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* ci(pre-commit): autofix

* fix pre-commit

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: ktro2828 <kotaro.uetake@tier4.jp>
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
* feat: add down sample filter before detection module

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* fix format

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* change comment

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* add output topic

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* ci(pre-commit): autofix

* fix pre-commit

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* feat: add down sample filter before detection module

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* fix format

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* change comment

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* add output topic

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* ci(pre-commit): autofix

* fix pre-commit

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* feat: add down sample filter before detection module

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* fix format

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* change comment

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* add output topic

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* ci(pre-commit): autofix

* fix pre-commit

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
* feat: add down sample filter before detection module

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* fix format

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* change comment

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* add output topic

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* Update launch/tier4_perception_launch/launch/object_recognition/detection/detection_preprocess.launch.py

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>

* ci(pre-commit): autofix

* fix pre-commit

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>

Co-authored-by: Yukihiro Saito <yukky.saito@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Oct 19, 2023
fix(lane_change): prevent stuck and chattering
iwatake2222 pushed a commit to iwatake2222/autoware.universe that referenced this pull request Jan 17, 2025
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
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