@@ -31,6 +31,7 @@ void VoxelGeneratorTest::SetUp()
31
31
32
32
class_size_ = 5 ;
33
33
point_feature_size_ = 4 ;
34
+ cloud_capacity_ = 2000000 ;
34
35
max_voxel_size_ = 100000000 ;
35
36
point_cloud_range_ = std::vector<double >{-76.8 , -76.8 , -4.0 , 76.8 , 76.8 , 6.0 };
36
37
voxel_size_ = std::vector<double >{0.32 , 0.32 , 10.0 };
@@ -110,9 +111,9 @@ TEST_F(VoxelGeneratorTest, SingleFrame)
110
111
autoware::lidar_centerpoint::DensificationParam param (world_frame_, num_past_frames);
111
112
112
113
autoware::lidar_centerpoint::CenterPointConfig config (
113
- class_size_, point_feature_size_, max_voxel_size_, point_cloud_range_, voxel_size_ ,
114
- downsample_factor_, encoder_in_feature_size_, score_threshold_, circle_nms_dist_threshold_ ,
115
- yaw_norm_thresholds_, has_variance_);
114
+ class_size_, point_feature_size_, cloud_capacity_, max_voxel_size_, point_cloud_range_ ,
115
+ voxel_size_, downsample_factor_, encoder_in_feature_size_, score_threshold_,
116
+ circle_nms_dist_threshold_, yaw_norm_thresholds_, has_variance_);
116
117
117
118
autoware::lidar_centerpoint::VoxelGenerator voxel_generator (param, config);
118
119
std::vector<float > points;
@@ -157,9 +158,9 @@ TEST_F(VoxelGeneratorTest, TwoFramesNoTf)
157
158
autoware::lidar_centerpoint::DensificationParam param (world_frame_, num_past_frames);
158
159
159
160
autoware::lidar_centerpoint::CenterPointConfig config (
160
- class_size_, point_feature_size_, max_voxel_size_, point_cloud_range_, voxel_size_ ,
161
- downsample_factor_, encoder_in_feature_size_, score_threshold_, circle_nms_dist_threshold_ ,
162
- yaw_norm_thresholds_, has_variance_);
161
+ class_size_, point_feature_size_, cloud_capacity_, max_voxel_size_, point_cloud_range_ ,
162
+ voxel_size_, downsample_factor_, encoder_in_feature_size_, score_threshold_,
163
+ circle_nms_dist_threshold_, yaw_norm_thresholds_, has_variance_);
163
164
164
165
autoware::lidar_centerpoint::VoxelGenerator voxel_generator (param, config);
165
166
std::vector<float > points;
@@ -191,9 +192,9 @@ TEST_F(VoxelGeneratorTest, TwoFrames)
191
192
autoware::lidar_centerpoint::DensificationParam param (world_frame_, num_past_frames);
192
193
193
194
autoware::lidar_centerpoint::CenterPointConfig config (
194
- class_size_, point_feature_size_, max_voxel_size_, point_cloud_range_, voxel_size_ ,
195
- downsample_factor_, encoder_in_feature_size_, score_threshold_, circle_nms_dist_threshold_ ,
196
- yaw_norm_thresholds_, has_variance_);
195
+ class_size_, point_feature_size_, cloud_capacity_, max_voxel_size_, point_cloud_range_ ,
196
+ voxel_size_, downsample_factor_, encoder_in_feature_size_, score_threshold_,
197
+ circle_nms_dist_threshold_, yaw_norm_thresholds_, has_variance_);
197
198
198
199
autoware::lidar_centerpoint::VoxelGenerator voxel_generator (param, config);
199
200
std::vector<float > points;
0 commit comments