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
…arefoundation#6910)

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

Signed-off-by: tomoya.kimura <[email protected]>

* fix spells

Signed-off-by: tomoya.kimura <[email protected]>

* fix: ignore spell check for "ROS2"

Signed-off-by: tomoya.kimura <[email protected]>

* fix spells

Signed-off-by: tomoya.kimura <[email protected]>

---------

Signed-off-by: tomoya.kimura <[email protected]>
Signed-off-by: vividf <[email protected]>
…oundation#6914)

* docs(tier4_simulated_clock_rviz_plugin): update how to use

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* fixed tabbed warning

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* fix warning not working

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* Fix bullet list

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: vividf <[email protected]>
* refactor(avoidance): rebuild object info structure

Signed-off-by: satoshi-ota <[email protected]>

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

Signed-off-by: satoshi-ota <[email protected]>

* refactor(avoidance): remove unused header

Signed-off-by: satoshi-ota <[email protected]>

---------

Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: vividf <[email protected]>
…refoundation#6918)

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

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* refactoring to a function

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

---------

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: vividf <[email protected]>
…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 <[email protected]>
Co-authored-by: Yuxuan Liu <[email protected]>
Signed-off-by: vividf <[email protected]>
…os to besteffort (autowarefoundation#6864)

feat: change radar tracks subscription qos to besteffort

Signed-off-by: yoshiri <[email protected]>
Signed-off-by: vividf <[email protected]>
…to ogm creation (autowarefoundation#6865)

* feat: add downsample filter to ogm creation

Signed-off-by: yoshiri <[email protected]>

* feat: add downsample to multi_lidar ogm creation

Signed-off-by: yoshiri <[email protected]>

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

Signed-off-by: yoshiri <[email protected]>

* chore: update readme document

Signed-off-by: yoshiri <[email protected]>

* chore: fix downsample size

Signed-off-by: yoshiri <[email protected]>

* chore: fix cspell error

Signed-off-by: yoshiri <[email protected]>

* feat: add test_depend

Signed-off-by: yoshiri <[email protected]>

---------

Signed-off-by: yoshiri <[email protected]>
Signed-off-by: vividf <[email protected]>
fix: do not use c++20 keyword as a type alias

Signed-off-by: Grzegorz Głowacki <[email protected]>
Signed-off-by: vividf <[email protected]>
…foundation#6797)

* fix(occupancy_grid_map_outlier_filter): add intensity field

Signed-off-by: badai-nguyen <[email protected]>

* fix: add intensity

Signed-off-by: badai-nguyen <[email protected]>

* fix: using empty padding field

Signed-off-by: badai-nguyen <[email protected]>

* refactor

Signed-off-by: badai-nguyen <[email protected]>

* Revert "refactor"

This reverts commit d16b3e0.

* refactor

Signed-off-by: badai-nguyen <[email protected]>

* fix: radius filter

Signed-off-by: badai-nguyen <[email protected]>

* chore: typo

Signed-off-by: badai-nguyen <[email protected]>

* fix: typo

Signed-off-by: badai-nguyen <[email protected]>

---------

Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: vividf <[email protected]>
* refactor(lane_change): rework object filter

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* Use preceeding lanes

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* style(pre-commit): autofix

* fix preceding lanes

Signed-off-by: Zulfaqar Azmi <[email protected]>

* Adds flow chart

Signed-off-by: Zulfaqar Azmi <[email protected]>

* prioritize on coming object check instead

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* Fix flow chart and rearrange code to early return

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* Colorize flow chart

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

---------

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

Signed-off-by: TetsuKawa <[email protected]>

* modify: componentize-system_error_monitor

Signed-off-by: TetsuKawa <[email protected]>

* feat: add explicit

Signed-off-by: TetsuKawa <[email protected]>

---------

Signed-off-by: TetsuKawa <[email protected]>
Signed-off-by: vividf <[email protected]>
…ndation#6995)

* refactor(autoware_planning_test_manager): rename package

Signed-off-by: Zulfaqar Azmi <[email protected]>

* rename file

Signed-off-by: Zulfaqar Azmi <[email protected]>

* Add maintainer for planning test utils

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

* Add route handler back into package.xml

Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>

---------

Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
Signed-off-by: vividf <[email protected]>
… autoware_ (autowarefoundation#6817)

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

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* build: fix CMake target

Signed-off-by: Esteve Fernandez <[email protected]>

* build(autoware_static_centerline_generator): more renames

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* build(autoware_static_centerline_generator): fix namespace

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_generator): fix clang-tidy issues

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_generator): fix clang-tidy issues

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_generator): fix build issues

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_generator): fix build issues

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_optimizer): fix clang-tidy issues

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* build: fix build errors

Signed-off-by: Esteve Fernandez <[email protected]>

* fix: remove else statements after return

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_generator): fix clang-tidy issues

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* revert changes for static_centerline_generator

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_generator): add autoware_ prefix

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_generator): fix filenames

Signed-off-by: Esteve Fernandez <[email protected]>

* fix(autoware_static_centerline_generator): fix namespaces

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* fix: added prefix to missing strings

Signed-off-by: Esteve Fernandez <[email protected]>

* refactor(autoware_static_centerline_generator): move header files to src

Signed-off-by: Esteve Fernandez <[email protected]>

* refactor(autoware_static_centerline_generator): fix include paths

Signed-off-by: Esteve Fernandez <[email protected]>

* style(pre-commit): autofix

Signed-off-by: Esteve Fernandez <[email protected]>

* refactor(autoware_static_centerline_generator): rename base folder

Signed-off-by: Esteve Fernandez <[email protected]>

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

Co-authored-by: M. Fatih Cırıt <[email protected]>
Signed-off-by: Esteve Fernandez <[email protected]>

* build(autoware_static_centerline_generator): fix include in CMake

Signed-off-by: Esteve Fernandez <[email protected]>

* build(autoware_static_centerline_generator): fix missing includes

Signed-off-by: Esteve Fernandez <[email protected]>

---------

Signed-off-by: Esteve Fernandez <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: M. Fatih Cırıt <[email protected]>
Signed-off-by: vividf <[email protected]>
@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.