Skip to content

Commit 87c627f

Browse files
committedApr 23, 2024
fix: typo
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
1 parent 371e23b commit 87c627f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎perception/euclidean_cluster/lib/voxel_grid_based_euclidean_cluster.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@ bool VoxelGridBasedEuclideanCluster::cluster(
147147
feature_object.feature.cluster.width =
148148
i_cluster_data_size / point_step / pointcloud_msg->height;
149149

150-
feature_object.object.kinematics.pose_with_covariance.pose.position = getCentroid(cluster);
150+
feature_object.object.kinematics.pose_with_covariance.pose.position =
151+
getCentroid(feature_object.feature.cluster);
151152
autoware_auto_perception_msgs::msg::ObjectClassification classification;
152153
classification.label = autoware_auto_perception_msgs::msg::ObjectClassification::UNKNOWN;
153154
classification.probability = 1.0f;

0 commit comments

Comments
 (0)