Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and badai-nguyen committed Jun 9, 2024
1 parent 149033d commit 7ec3855
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ void SegmentPointCloudFusionNode::fuseOnSingleImage(
tf2::doTransform(input_pointcloud_msg, transformed_cloud, transform_stamped);

int point_step = input_pointcloud_msg.point_step;
int x_offset = input_pointcloud_msg.fields[pcl::getFieldIndex(input_pointcloud_msg,"x")].offset;
int y_offset = input_pointcloud_msg.fields[pcl::getFieldIndex(input_pointcloud_msg,"y")].offset;
int z_offset = input_pointcloud_msg.fields[pcl::getFieldIndex(input_pointcloud_msg,"z")].offset;
int x_offset = input_pointcloud_msg.fields[pcl::getFieldIndex(input_pointcloud_msg, "x")].offset;
int y_offset = input_pointcloud_msg.fields[pcl::getFieldIndex(input_pointcloud_msg, "y")].offset;
int z_offset = input_pointcloud_msg.fields[pcl::getFieldIndex(input_pointcloud_msg, "z")].offset;
size_t output_pointcloud_size = 0;
output_cloud.data.clear();
output_cloud.data.resize(input_pointcloud_msg.data.size());
Expand Down

0 comments on commit 7ec3855

Please sign in to comment.