From 3e6952cb596deb7792fe409c3a5379a6b89e4785 Mon Sep 17 00:00:00 2001 From: SHERPA Date: Tue, 6 Jan 2026 16:42:32 +0100 Subject: [PATCH] fixed merge conflicts --- .../launch/target_tracking_launch.py | 17 +++++------------ src/target_tracking/src/cloud_preprocessing.cpp | 3 --- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/src/target_tracking/launch/target_tracking_launch.py b/src/target_tracking/launch/target_tracking_launch.py index c2414c3..82ffa59 100644 --- a/src/target_tracking/launch/target_tracking_launch.py +++ b/src/target_tracking/launch/target_tracking_launch.py @@ -5,13 +5,8 @@ import math ################### user configure parameters for ros2 start ################### # Topics/Frames frame_id = 'velodyne' -<<<<<<< Updated upstream -topic_preprocessing_in = 'filtered_points' -topic_preprocessing_out = 'new_filtered' -======= topic_preprocessing_in = 'merged_cloud' topic_preprocessing_out = 'filtered_points' ->>>>>>> Stashed changes # Preprocessing x_min = 0.0 @@ -22,23 +17,21 @@ tan_h_fov = math.pi / 4 # ±45° tan_v_fov = math.pi / 6 # ±30° # Clustering -<<<<<<< Updated upstream -z_dim_scale = 0.1 -cluster_tolerance = 0.3 -min_cluster_size = 10 -max_cluster_size = 1000 +#z_dim_scale = 0.1 +#cluster_tolerance = 0.3 +#min_cluster_size = 10 +#max_cluster_size = 1000 min_width = 0.0 min_height = 0.0 min_length = 0.0 max_width = 1.5 max_height = 2.5 max_length = 1.5 -======= + z_dim_scale = 1.0 cluster_tolerance = 0.1 min_cluster_size = 350 max_cluster_size = 1500 ->>>>>>> Stashed changes ################### user configure parameters for ros2 end ##################### diff --git a/src/target_tracking/src/cloud_preprocessing.cpp b/src/target_tracking/src/cloud_preprocessing.cpp index 848b93c..e6f0047 100644 --- a/src/target_tracking/src/cloud_preprocessing.cpp +++ b/src/target_tracking/src/cloud_preprocessing.cpp @@ -158,7 +158,6 @@ private: filtered_publisher_->publish(out_msg); //RCLCPP_INFO(this->get_logger(), "Filtered %zu -> %zu points", input->points.size(), voxel_filtered->points.size()); -<<<<<<< Updated upstream //auto stop = std::chrono::high_resolution_clock::now(); //auto duration = std::chrono::duration_cast(stop - start); @@ -166,8 +165,6 @@ private: // member function on the duration object //std::cout << duration.count() << std::endl; -======= ->>>>>>> Stashed changes } tf2_ros::Buffer tf_buffer_;