Commit df0846a 1 parent da7bd5b commit df0846a Copy full SHA for df0846a
File tree 2 files changed +4
-3
lines changed
localization/ndt_scan_matcher/test
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ class StubPcdLoader : public rclcpp::Node
39
39
private:
40
40
rclcpp::Service<GetDifferentialPointCloudMap>::SharedPtr get_differential_pcd_maps_service_;
41
41
42
+ // NOLINTNEXTLINE
42
43
bool on_service_get_differential_point_cloud_map (
43
44
GetDifferentialPointCloudMap::Request::SharedPtr req,
44
45
GetDifferentialPointCloudMap::Response::SharedPtr res)
Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ inline pcl::PointCloud<pcl::PointXYZ> make_sample_pcd(
33
33
const float x = min_xy + interval * static_cast <float >(j);
34
34
const float y = min_xy + interval * static_cast <float >(i);
35
35
const float z = std::hypot (x - center, y - center) / (range_width / 16 );
36
- cloud.points [i * num_points_per_line + j].x = x;
37
- cloud.points [i * num_points_per_line + j].y = y;
38
- cloud.points [i * num_points_per_line + j].z = z;
36
+ cloud.points [i * num_points_per_line + j].x = x; // NOLINT
37
+ cloud.points [i * num_points_per_line + j].y = y; // NOLINT
38
+ cloud.points [i * num_points_per_line + j].z = z; // NOLINT
39
39
}
40
40
}
41
41
return cloud;
You can’t perform that action at this time.
0 commit comments