forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(autoware_ground_segmentation): fix scan ground filter logic (auto…
…warefoundation#9084) * refactor: initialize gnd_grids in ScanGroundFilterComponent::initializeFirstGndGrids Initialize gnd_grids vector in the ScanGroundFilterComponent::initializeFirstGndGrids function to ensure it is empty and has the correct capacity. This improves the efficiency of the function and ensures accurate grid initialization. Signed-off-by: Taekjin LEE <[email protected]> * refactor: initialize gnd_grids vector in initializeFirstGndGrids function Initialize the gnd_grids vector in the initializeFirstGndGrids function to ensure it is empty and has the correct capacity. This improves the efficiency of the function and ensures accurate grid initialization. Signed-off-by: Taekjin LEE <[email protected]> * refactor: improve efficiency and accuracy of grid initialization Initialize the gnd_grids vector in the initializeFirstGndGrids function to ensure it is empty and has the correct capacity. This refactor improves the efficiency of the function and ensures accurate grid initialization. Signed-off-by: Taekjin LEE <[email protected]> * refactor: improve efficiency of checkDiscontinuousGndGrid function Refactor the checkDiscontinuousGndGrid function in node.cpp to improve its efficiency. The changes include optimizing the conditional statements and reducing unnecessary calculations. Signed-off-by: Taekjin LEE <[email protected]> * refactor: improve efficiency of checkDiscontinuousGndGrid function Signed-off-by: Taekjin LEE <[email protected]> * fix: add missing condition Signed-off-by: Taekjin LEE <[email protected]> * style(pre-commit): autofix * refactor: fix height_max initialization in node.hpp Signed-off-by: Taekjin LEE <[email protected]> * fix: bring back inequality sign Signed-off-by: Taekjin LEE <[email protected]> * fix: parameters from float to double following the guideline https://docs.ros.org/en/foxy/Concepts/About-ROS-2-Parameters.html#overview Signed-off-by: Taekjin LEE <[email protected]> * refactor: fix logic description comment Signed-off-by: Taekjin LEE <[email protected]> --------- Signed-off-by: Taekjin LEE <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
2b9138d
commit dd6e677
Showing
2 changed files
with
156 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.