Skip to content

Commit 419f897

Browse files
committed
fix(ring_outlier_filter): remove unnecessary resize to prevent zero points (autowarefoundation#8402)
fix: remove unnecessary resize Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
1 parent ecb33b2 commit 419f897

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sensing/pointcloud_preprocessor/src/outlier_filter/ring_outlier_filter_nodelet.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,6 @@ void RingOutlierFilterComponent::setUpPointCloudFormat(
355355
// == true`
356356
formatted_points.header.frame_id =
357357
!tf_input_frame_.empty() ? tf_input_frame_ : tf_input_orig_frame_;
358-
formatted_points.data.resize(formatted_points.point_step * input->width);
359358
formatted_points.height = 1;
360359
formatted_points.width =
361360
static_cast<uint32_t>(formatted_points.data.size() / formatted_points.point_step);

0 commit comments

Comments
 (0)