Skip to content

Commit

Permalink
fix(ring_outlier_filter): remove unnecessary resize to prevent zero p…
Browse files Browse the repository at this point in the history
…oints (autowarefoundation#8402)

fix: remove unnecessary resize

Signed-off-by: yoshiri <[email protected]>
  • Loading branch information
YoshiRi committed Aug 15, 2024
1 parent ecb33b2 commit 419f897
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,6 @@ void RingOutlierFilterComponent::setUpPointCloudFormat(
// == true`
formatted_points.header.frame_id =
!tf_input_frame_.empty() ? tf_input_frame_ : tf_input_orig_frame_;
formatted_points.data.resize(formatted_points.point_step * input->width);
formatted_points.height = 1;
formatted_points.width =
static_cast<uint32_t>(formatted_points.data.size() / formatted_points.point_step);
Expand Down

0 comments on commit 419f897

Please sign in to comment.