You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(autoware_image_projection_based_fusion): organize 2d-detection 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>
Copy file name to clipboardexpand all lines: perception/autoware_image_projection_based_fusion/include/autoware/image_projection_based_fusion/fusion_node.hpp
+73-51
Original file line number
Diff line number
Diff line change
@@ -52,14 +52,33 @@ using autoware_perception_msgs::msg::DetectedObject;
52
52
using autoware_perception_msgs::msg::DetectedObjects;
53
53
using sensor_msgs::msg::CameraInfo;
54
54
using sensor_msgs::msg::Image;
55
-
using sensor_msgs::msg::PointCloud2;
56
-
using tier4_perception_msgs::msg::DetectedObjectsWithFeature;
55
+
using PointCloudMsgType = sensor_msgs::msg::PointCloud2;
56
+
using RoiMsgType = tier4_perception_msgs::msg::DetectedObjectsWithFeature;
57
+
using ClusterMsgType = tier4_perception_msgs::msg::DetectedObjectsWithFeature;
58
+
using ClusterObjType = tier4_perception_msgs::msg::DetectedObjectWithFeature;
57
59
using tier4_perception_msgs::msg::DetectedObjectWithFeature;
58
60
using PointCloud = pcl::PointCloud<pcl::PointXYZ>;
59
61
using autoware::image_projection_based_fusion::CameraProjection;
60
62
using autoware_perception_msgs::msg::ObjectClassification;
Copy file name to clipboardexpand all lines: perception/autoware_image_projection_based_fusion/include/autoware/image_projection_based_fusion/pointpainting_fusion/node.hpp
Copy file name to clipboardexpand all lines: perception/autoware_image_projection_based_fusion/include/autoware/image_projection_based_fusion/roi_cluster_fusion/node.hpp
Copy file name to clipboardexpand all lines: perception/autoware_image_projection_based_fusion/include/autoware/image_projection_based_fusion/roi_detected_object_fusion/node.hpp
Copy file name to clipboardexpand all lines: perception/autoware_image_projection_based_fusion/include/autoware/image_projection_based_fusion/roi_pointcloud_fusion/node.hpp
+16-19
Original file line number
Diff line number
Diff line change
@@ -25,32 +25,29 @@
25
25
26
26
namespaceautoware::image_projection_based_fusion
27
27
{
28
-
classRoiPointCloudFusionNode
29
-
: public FusionNode<PointCloud2, DetectedObjectWithFeature, DetectedObjectsWithFeature>
0 commit comments