-
Notifications
You must be signed in to change notification settings - Fork 668
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(autoware_image_projection_based_fusion): organize 2d-detecti…
…on related members (#9789) * chore: input_camera_topics_ is only for debug Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * feat: fuse main message with cached roi messages in fusion_node.cpp Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * chore: add comments on each process step, organize methods Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * feat: Export process method in fusion_node.cpp Export the `exportProcess()` method in `fusion_node.cpp` to handle the post-processing and publishing of the fused messages. This method cancels the timer, performs the necessary post-processing steps, publishes the output message, and resets the flags. It also adds processing time for debugging purposes. This change improves the organization and readability of the code. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * feat: Refactor fusion_node.hpp and fusion_node.cpp Refactor the `fusion_node.hpp` and `fusion_node.cpp` files to improve code organization and readability. This includes exporting the `exportProcess()` method in `fusion_node.cpp` to handle post-processing and publishing of fused messages, adding comments on each process step, organizing methods, and fusing the main message with cached ROI messages. These changes enhance the overall quality of the codebase. Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.cpp and fusion_node.hpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.hpp and fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * feat: Refactor fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * feat: implement mutex per 2d detection process Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.hpp and fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.hpp and fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * revise template, inputs first and output at the last Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * explicit in and out types 1 Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * clarify pointcloud message type Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.hpp and fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.hpp and fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.hpp and fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor publisher types in fusion_node.hpp and node.hpp Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: resolve cppcheck issue shadowVariable Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.hpp and fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * chore: rename Det2dManager to Det2dStatus Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * revert mutex related changes Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * refactor: review member and method's access Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: resolve shadowVariable of 'det2d' Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix missing line Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * refactor message postprocess and publish methods Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * publish the main message is common Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: replace pointcloud message type by the typename Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * review member access Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * Refactor fusion_node.hpp and fusion_node.cpp for improved code organization and readability Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * refactor: fix condition for publishing painted pointcloud message Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> * fix: remove unused variable Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp> --------- Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
- Loading branch information
1 parent
9ce874c
commit 14ee08b
Showing
14 changed files
with
603 additions
and
579 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
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
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
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
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.