From 6bf66442a3272bfa1f79f378cb052b5fc422acd8 Mon Sep 17 00:00:00 2001 From: Autumn60 <37181352+Autumn60@users.noreply.github.com> Date: Mon, 15 Jul 2024 00:31:01 +0900 Subject: [PATCH] feat: update velodyne_cloud_separator.cpp with get_data() method (#49) Signed-off-by: Autumn60 --- .../velodyne_cloud_separator/src/velodyne_cloud_separator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/perception/velodyne_cloud_separator/src/velodyne_cloud_separator.cpp b/src/perception/velodyne_cloud_separator/src/velodyne_cloud_separator.cpp index cbea368..2959703 100644 --- a/src/perception/velodyne_cloud_separator/src/velodyne_cloud_separator.cpp +++ b/src/perception/velodyne_cloud_separator/src/velodyne_cloud_separator.cpp @@ -208,7 +208,7 @@ void VelodyneCloudSeparator::update() bool VelodyneCloudSeparator::try_subscribe_pc() { - auto pc_msg = pc_sub_->getData(); + auto pc_msg = pc_sub_->get_data(); if (!pc_msg) return false; try { pc_ = pcl::PointCloud::Ptr(new pcl::PointCloud);