Skip to content

Commit

Permalink
ci(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jul 14, 2022
1 parent 3fb4569 commit 50583e4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,15 @@ bool DistortionCorrectorComponent::undistortPointCloud(
return false;
}

if(!point_cloud_msg_wrapper::PointCloud2View<PointXYZTimestamp>::can_be_created_from(points))
{
if (!point_cloud_msg_wrapper::PointCloud2View<PointXYZTimestamp>::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<autoware::common::types::PointXYZTimestamp> modifier{points, "distorion_corrector"};
point_cloud_msg_wrapper::PointCloud2Modifier<autoware::common::types::PointXYZTimestamp> modifier{
points, "distorion_corrector"};
sensor_msgs::PointCloud2Iterator<float> it_x(points, "x");
sensor_msgs::PointCloud2Iterator<float> it_y(points, "y");
sensor_msgs::PointCloud2Iterator<float> it_z(points, "z");
Expand Down

0 comments on commit 50583e4

Please sign in to comment.