From 50583e485b8e2edca7a9bb22f5e76c474f2366df Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 14 Jul 2022 12:49:55 +0000 Subject: [PATCH] ci(pre-commit): autofix --- .../src/distortion_corrector/distortion_corrector.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sensing/pointcloud_preprocessor/src/distortion_corrector/distortion_corrector.cpp b/sensing/pointcloud_preprocessor/src/distortion_corrector/distortion_corrector.cpp index 3d26b6419ed64..9af10307476ae 100644 --- a/sensing/pointcloud_preprocessor/src/distortion_corrector/distortion_corrector.cpp +++ b/sensing/pointcloud_preprocessor/src/distortion_corrector/distortion_corrector.cpp @@ -175,15 +175,15 @@ bool DistortionCorrectorComponent::undistortPointCloud( return false; } - if(!point_cloud_msg_wrapper::PointCloud2View::can_be_created_from(points)) - { + if (!point_cloud_msg_wrapper::PointCloud2View::can_be_created_from(points)) { RCLCPP_WARN_STREAM_THROTTLE( get_logger(), *get_clock(), 10000 /* ms */, "Required field time stamp doesn't exist in the point cloud."); return false; } - point_cloud_msg_wrapper::PointCloud2Modifier modifier{points, "distorion_corrector"}; + point_cloud_msg_wrapper::PointCloud2Modifier modifier{ + points, "distorion_corrector"}; sensor_msgs::PointCloud2Iterator it_x(points, "x"); sensor_msgs::PointCloud2Iterator it_y(points, "y"); sensor_msgs::PointCloud2Iterator it_z(points, "z");