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(pointcloud_preprocessor): support 3d distortion corrector for distortion corrector node #7027

Closed

Conversation

vividf
Copy link
Contributor

@vividf vividf commented May 15, 2024

Description

This PR solved the issue #6657.
This PR provides an option for the user to choose a 3d distortion corrector instead of using the current 2d distortion corrector.

Note that by using this, the time will increase around 50 percent.

Related links

Tests performed

Time comparison

Input: mirrored pointcloud (58 frames)
distortion corrector: 2d

Before the PR

Minimum Maximum Average
Time 7.15 15.29 10.09

After the PR

Minimum Maximum Average
Time 7.36 14.01 10.40

Input: mirror pointcloud (58 frames)
distortion corrector: 3d

After the PR

Minimum Maximum Average
Time 13.02 22.26 16.05

Pointcloud comparison

https://github.com/meliketanrikulu will provide more detail.

Notes for reviewers

Interface changes

Additional parameter is added use_3d_distortion_correction, the default value is false

ROS Topic Changes

ROS Parameter 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.

@github-actions github-actions bot added the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label May 15, 2024
@vividf
Copy link
Contributor Author

vividf commented May 15, 2024

@meliketanrikulu
Could you test this PR again with your scenarios and provide some results here? Thanks!

Please note that you need to set the parameter to true.

@xmfcx xmfcx requested a review from meliketanrikulu May 15, 2024 11:36
@xmfcx xmfcx added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label May 15, 2024
@xmfcx xmfcx added the run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) label May 15, 2024
@xmfcx
Copy link
Contributor

xmfcx commented May 15, 2024

Could you also update the readme of this package?

And add @vividf (yourself) and @meliketanrikulu (Melike Tanrıkulu) to the package maintainers under the package.xml?

@xmfcx
Copy link
Contributor

xmfcx commented May 15, 2024

Copy link

github-actions bot commented May 15, 2024

Documentation URL: https://autowarefoundation.github.io/autoware.universe/pr-7027/
Modified URLs:

@vividf vividf changed the title Feature/3d distortion corrector feat(pointcloud_preprocessor): support 3d distortion corrector for distortion corrector node May 16, 2024
@github-actions github-actions bot added the type:documentation Creating or refining documentation. (auto-assigned) label May 16, 2024
vividf and others added 17 commits May 16, 2024 12:11
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…arefoundation#6910)

* fix(trajectory_follower_node): fix config file of plot juggler

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

* fix spells

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

* fix: ignore spell check for "ROS2"

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

* fix spells

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

---------

Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…oundation#6914)

* docs(tier4_simulated_clock_rviz_plugin): update how to use

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fixed tabbed warning

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* fix warning not working

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Fix bullet list

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
* refactor(avoidance): rebuild object info structure

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

* refactor(avoidance): add helper function to unify same process

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

* refactor(avoidance): remove unused header

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

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…refoundation#6918)

* feat(mission_planner): publish initial and goal poses to logs

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* refactoring to a function

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…hance requirements on documenting interface changes (autowarefoundation#6896)

improve the pull request template to enhance requirements on documenting interface changes

Signed-off-by: Yuxuan Liu <uken.ryu.2@tier4.jp>
Co-authored-by: Yuxuan Liu <uken.ryu.2@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…os to besteffort (autowarefoundation#6864)

feat: change radar tracks subscription qos to besteffort

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…to ogm creation (autowarefoundation#6865)

* feat: add downsample filter to ogm creation

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* feat: add downsample to multi_lidar ogm creation

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* chore: update package.xml and readme and param file

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* chore: update readme document

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* chore: fix downsample size

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* chore: fix cspell error

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* feat: add test_depend

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

---------

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
autowarefoundation#6926)

Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
fix: do not use c++20 keyword as a type alias

Signed-off-by: Grzegorz Głowacki <gglowacki@autonomous-systems.pl>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…owarefoundation#6921)

Signed-off-by: Ryuta Kambe <ryuta.kambe@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
autowarefoundation#6917)

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…foundation#6797)

* fix(occupancy_grid_map_outlier_filter): add intensity field

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>

* fix: add intensity

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>

* fix: using empty padding field

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>

* refactor

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>

* Revert "refactor"

This reverts commit d16b3e0.

* refactor

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>

* fix: radius filter

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>

* chore: typo

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>

* fix: typo

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>

---------

Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: Yuki Takagi <yuki.takagi@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
* refactor(lane_change): rework object filter

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Use preceeding lanes

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* style(pre-commit): autofix

* fix preceding lanes

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Adds flow chart

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* prioritize on coming object check instead

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Fix flow chart and rearrange code to early return

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Colorize flow chart

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
vividf and others added 11 commits May 16, 2024 12:11
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
* feat: componentize-system_error_monitor

Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>

* modify: componentize-system_error_monitor

Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>

* feat: add explicit

Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>

---------

Signed-off-by: TetsuKawa <kawaguchitnon@icloud.com>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…ndation#6995)

* refactor(autoware_planning_test_manager): rename package

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* rename file

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Add maintainer for planning test utils

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

* Add route handler back into package.xml

Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>

---------

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…ion#7025)

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…n#7023)

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…7026)

Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
… autoware_ (autowarefoundation#6817)

* build(static_centerline_generator): prefix package and namespace with autoware_

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* build: fix CMake target

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* build(autoware_static_centerline_generator): more renames

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* build(autoware_static_centerline_generator): fix namespace

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_generator): fix clang-tidy issues

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_generator): fix clang-tidy issues

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_generator): fix build issues

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_generator): fix build issues

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_optimizer): fix clang-tidy issues

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* build: fix build errors

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix: remove else statements after return

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_generator): fix clang-tidy issues

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* revert changes for static_centerline_generator

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_generator): add autoware_ prefix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_generator): fix filenames

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix(autoware_static_centerline_generator): fix namespaces

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* fix: added prefix to missing strings

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* refactor(autoware_static_centerline_generator): move header files to src

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* refactor(autoware_static_centerline_generator): fix include paths

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* refactor(autoware_static_centerline_generator): rename base folder

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* Update planning/autoware_static_centerline_generator/launch/static_centerline_generator.launch.xml

Co-authored-by: M. Fatih Cırıt <xmfcx@users.noreply.github.com>
Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* build(autoware_static_centerline_generator): fix include in CMake

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

* build(autoware_static_centerline_generator): fix missing includes

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>

---------

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: M. Fatih Cırıt <xmfcx@users.noreply.github.com>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…oint query (autowarefoundation#7020)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…and node names (autowarefoundation#7028)

Signed-off-by: Esteve Fernandez <esteve.fernandez@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
…towarefoundation#7012)

remove unused functions in route_handler

Signed-off-by: vividf <yihsiang.fang@tier4.jp>
@vividf vividf force-pushed the feature/3d_distortion_corrector branch from f5eca32 to fabb0e0 Compare May 16, 2024 03:13
@github-actions github-actions bot added component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:tools Utility and debugging software. (auto-assigned) component:system System design and integration. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) type:ci Continuous Integration (CI) processes and testing. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) component:common Common packages from the autoware-common repository. (auto-assigned) component:simulation Virtual environment setups and simulations. (auto-assigned) component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) labels May 16, 2024
@vividf vividf closed this May 16, 2024
@vividf vividf deleted the feature/3d_distortion_corrector branch May 16, 2024 03:27
@vividf
Copy link
Contributor Author

vividf commented May 16, 2024

As one of the commits (suggested by the reviewer) didn't have the signoff, I followed the GitHub suggestion.
However, it makes this PR hard to review by having too many unrelated changes.

I created a new PR at #7031.
Sorry for the inconvenience @xmfcx @meliketanrikulu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:common Common packages from the autoware-common repository. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) component:map Map creation, storage, and loading. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:planning Route planning, decision-making, and navigation. (auto-assigned) component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) component:simulation Virtual environment setups and simulations. (auto-assigned) component:system System design and integration. (auto-assigned) component:tools Utility and debugging software. (auto-assigned) component:vehicle Vehicle-specific implementations, drivers, packages. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) type:ci Continuous Integration (CI) processes and testing. (auto-assigned) type:documentation Creating or refining documentation. (auto-assigned)
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.