Skip to content

Commit 47e33bf

Browse files
committed
chore: ignoring uncrustify
Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
1 parent 3fcbc42 commit 47e33bf

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

sensing/autoware_cuda_pointcloud_preprocessor/include/autoware/cuda_pointcloud_preprocessor/cuda_pointcloud_preprocessor_node.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,12 @@
4040
#include <memory>
4141
#include <string>
4242

43+
/* *INDENT-OFF* */
4344
#define CHECK_OFFSET(structure1, structure2, field) \
4445
static_assert( \
4546
offsetof(structure1, field) == offsetof(structure2, field), \
4647
"Offset of " #field " in " #structure1 " does not match expected offset.")
48+
/* *INDENT-ON* */
4749

4850
namespace autoware::cuda_pointcloud_preprocessor
4951
{

sensing/autoware_cuda_pointcloud_preprocessor/include/autoware/cuda_pointcloud_preprocessor/types.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ struct RingOutlierFilterParameters
7979
std::size_t num_points_threshold{0};
8080
};
8181

82+
/* *INDENT-OFF* */
8283
template <typename T>
8384
class MemoryPoolAllocator
8485
{
@@ -98,6 +99,7 @@ class MemoryPoolAllocator
9899
protected:
99100
cudaMemPool_t m_pool;
100101
};
102+
/* *INDENT-ON* */
101103

102104
} // namespace autoware::cuda_pointcloud_preprocessor
103105

sensing/autoware_cuda_pointcloud_preprocessor/src/cuda_pointcloud_preprocessor/cuda_pointcloud_preprocessor_node.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ CudaPointcloudPreprocessorNode::CudaPointcloudPreprocessorNode(
8888
bool use_imu = declare_parameter<bool>("use_imu");
8989

9090
// Publisher
91+
/* *INDENT-OFF* */
9192
pub_ =
9293
std::make_unique<cuda_blackboard::CudaBlackboardPublisher<cuda_blackboard::CudaPointCloud2>>(
9394
*this, "~/output/pointcloud");
95+
/* *INDENT-ON* */
9496

9597
// Subscriber
9698
rclcpp::SubscriptionOptions sub_options;
@@ -112,9 +114,11 @@ CudaPointcloudPreprocessorNode::CudaPointcloudPreprocessorNode(
112114
sub_options);
113115
}
114116

117+
/* *INDENT-OFF* */
115118
CudaPointcloudPreprocessor::UndistortionType undistortion_type =
116119
use_3d_undistortion ? CudaPointcloudPreprocessor::UndistortionType::Undistortion3D
117120
: CudaPointcloudPreprocessor::UndistortionType::Undistortion2D;
121+
/* *INDENT-ON* */
118122

119123
cuda_pointcloud_preprocessor_ = std::make_unique<CudaPointcloudPreprocessor>();
120124
cuda_pointcloud_preprocessor_->setRingOutlierFilterParameters(ring_outlier_filter_parameters);
@@ -239,6 +243,7 @@ void CudaPointcloudPreprocessorNode::pointcloudCallback(
239243
input_pointcloud_msg_ptr->header.stamp.nanosec * 1e-9 +
240244
first_point_rel_stamp * 1e-9;
241245

246+
/* *INDENT-ON* */
242247
while (twist_queue_.size() > 1 &&
243248
rclcpp::Time(twist_queue_.front().header.stamp).seconds() < first_point_stamp) {
244249
twist_queue_.pop_front();
@@ -248,6 +253,7 @@ void CudaPointcloudPreprocessorNode::pointcloudCallback(
248253
rclcpp::Time(angular_velocity_queue_.front().header.stamp).seconds() < first_point_stamp) {
249254
angular_velocity_queue_.pop_front();
250255
}
256+
/* *INDENT-ON* */
251257

252258
// Obtain the base link to input pointcloud transform
253259
geometry_msgs::msg::TransformStamped transform_msg;

0 commit comments

Comments
 (0)