Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(autoware_pointcloud_preprocessor): distortion corrector node upd…
…ate azimuth and distance (#8380) * feat: add option for updating distance and azimuth value Signed-off-by: vividf <[email protected]> * chore: clean code Signed-off-by: vividf <[email protected]> * chore: remove space Signed-off-by: vividf <[email protected]> * chore: add documentation Signed-off-by: vividf <[email protected]> * chore: fix docs Signed-off-by: vividf <[email protected]> * feat: conversion formula implementation for degree, still need to change to rad Signed-off-by: vividf <[email protected]> * chore: fix tests for AzimuthConversionExists function Signed-off-by: vividf <[email protected]> * feat: add fastatan to utils Signed-off-by: vividf <[email protected]> * feat: remove seperate sin, cos and use sin_and_cos function Signed-off-by: vividf <[email protected]> * chore: fix readme Signed-off-by: vividf <[email protected]> * chore: fix some grammar errors Signed-off-by: vividf <[email protected]> * chore: fix spell error Signed-off-by: vividf <[email protected]> * chore: set debug mode to false Signed-off-by: vividf <[email protected]> * chore: set update_azimuth_and_distance default value to false Signed-off-by: vividf <[email protected]> * chore: update readme Signed-off-by: vividf <[email protected]> * chore: remove cout Signed-off-by: vividf <[email protected]> * chore: add opencv license Signed-off-by: vividf <[email protected]> * chore: fix grammar error Signed-off-by: vividf <[email protected]> * style(pre-commit): autofix * chore: add runtime error when azimuth conversion failed Signed-off-by: vividf <[email protected]> * chore: change default pointcloud Signed-off-by: vividf <[email protected]> * chore: change function name Signed-off-by: vividf <[email protected]> * chore: move variables to structure Signed-off-by: vividf <[email protected]> * chore: add random seed Signed-off-by: vividf <[email protected]> * chore: rewrite get conversion function Signed-off-by: vividf <[email protected]> * chore: fix opencv fast atan2 function Signed-off-by: vividf <[email protected]> * chore: fix schema description Signed-off-by: vividf <[email protected]> * Update sensing/autoware_pointcloud_preprocessor/test/test_distortion_corrector_node.cpp Co-authored-by: Max Schmeller <[email protected]> * Update sensing/autoware_pointcloud_preprocessor/test/test_distortion_corrector_node.cpp Co-authored-by: Max Schmeller <[email protected]> * chore: move code to function for readability Signed-off-by: vividf <[email protected]> * chore: simplify code Signed-off-by: vividf <[email protected]> * chore: fix sentence, angle conversion Signed-off-by: vividf <[email protected]> * chore: add more invalid condition Signed-off-by: vividf <[email protected]> * chore: fix the string name to enum Signed-off-by: vividf <[email protected]> * chore: remove runtime error Signed-off-by: vividf <[email protected]> * chore: use optional for AngleConversion structure Signed-off-by: vividf <[email protected]> * chore: fix bug and clean code Signed-off-by: vividf <[email protected]> * chore: refactor the logic of calculating conversion Signed-off-by: vividf <[email protected]> * chore: refactor function in unit test Signed-off-by: vividf <[email protected]> * chore: RCLCPP_WARN_STREAM logging when failed to get angle conversion Signed-off-by: vividf <[email protected]> * chore: improve normalize angle algorithm Signed-off-by: vividf <[email protected]> * chore: improve multiple_of_90_degrees logic Signed-off-by: vividf <[email protected]> * chore: add opencv license Signed-off-by: vividf <[email protected]> * style(pre-commit): autofix * chore: clean code Signed-off-by: vividf <[email protected]> * chore: fix sentence Signed-off-by: vividf <[email protected]> * style(pre-commit): autofix * chore: add 0 0 0 points in test case Signed-off-by: vividf <[email protected]> * chore: fix spell error Signed-off-by: vividf <[email protected]> * Update common/autoware_universe_utils/NOTICE Co-authored-by: Max Schmeller <[email protected]> * Update sensing/autoware_pointcloud_preprocessor/src/distortion_corrector/distortion_corrector_node.cpp Co-authored-by: Max Schmeller <[email protected]> * Update sensing/autoware_pointcloud_preprocessor/src/distortion_corrector/distortion_corrector.cpp Co-authored-by: Max Schmeller <[email protected]> * chore: use constexpr for threshold Signed-off-by: vividf <[email protected]> * chore: fix the path of license Signed-off-by: vividf <[email protected]> * chore: explanation for failures Signed-off-by: vividf <[email protected]> * chore: use throttle Signed-off-by: vividf <[email protected]> * chore: fix empty pointcloud function Signed-off-by: vividf <[email protected]> * refactor: change camel to snake case Signed-off-by: vividf <[email protected]> * Update sensing/autoware_pointcloud_preprocessor/include/autoware/pointcloud_preprocessor/distortion_corrector/distortion_corrector_node.hpp Co-authored-by: Max Schmeller <[email protected]> * Update sensing/autoware_pointcloud_preprocessor/include/autoware/pointcloud_preprocessor/distortion_corrector/distortion_corrector_node.hpp Co-authored-by: Max Schmeller <[email protected]> * style(pre-commit): autofix * Update sensing/autoware_pointcloud_preprocessor/test/test_distortion_corrector_node.cpp Co-authored-by: Max Schmeller <[email protected]> * refactor: refactor virtual function in base class Signed-off-by: vividf <[email protected]> * chore: fix test naming error Signed-off-by: vividf <[email protected]> * chore: fix clang error Signed-off-by: vividf <[email protected]> * chore: fix error Signed-off-by: vividf <[email protected]> * chore: fix clangd Signed-off-by: vividf <[email protected]> * chore: add runtime error if the setting is wrong Signed-off-by: vividf <[email protected]> * chore: clean code Signed-off-by: vividf <[email protected]> * Update sensing/autoware_pointcloud_preprocessor/src/distortion_corrector/distortion_corrector.cpp Co-authored-by: Max Schmeller <[email protected]> * style(pre-commit): autofix * chore: fix unit test for runtime error Signed-off-by: vividf <[email protected]> * Update sensing/autoware_pointcloud_preprocessor/docs/distortion-corrector.md Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]> * chore: fix offset_rad_threshold Signed-off-by: vividf <[email protected]> * chore: change pointer to reference Signed-off-by: vividf <[email protected]> * chore: snake_case for unit test Signed-off-by: vividf <[email protected]> * chore: fix refactor process twist and imu Signed-off-by: vividf <[email protected]> * chore: fix abs and return type of matrix to tf2 Signed-off-by: vividf <[email protected]> * chore: fix grammar error Signed-off-by: vividf <[email protected]> * chore: fix readme description Signed-off-by: vividf <[email protected]> * chore: remove runtime error Signed-off-by: vividf <[email protected]> --------- Signed-off-by: vividf <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Max Schmeller <[email protected]> Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
- Loading branch information