We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f425d2f commit 9ce48d0Copy full SHA for 9ce48d0
perception/compare_map_segmentation/src/voxel_grid_map_loader.cpp
@@ -242,7 +242,9 @@ bool VoxelGridMapLoader::is_in_voxel(
242
const double dist_y = map->points.at(voxel_index).y - target_point.y;
243
const double dist_z = map->points.at(voxel_index).z - target_point.z - 0.1;
244
// check if the point is inside the distance threshold voxel
245
- if(std::abs(dist_x) < distance_threshold && std::abs(dist_y) < distance_threshold && std::abs(dist_z) < distance_threshold * downsize_ratio_z_axis_){
+ if (
246
+ std::abs(dist_x) < distance_threshold && std::abs(dist_y) < distance_threshold &&
247
+ std::abs(dist_z) < distance_threshold * downsize_ratio_z_axis_) {
248
return true;
249
}
250
0 commit comments