KOKIAOKI / 3d_bbs

MIT License
172 stars 28 forks source link

Why failed on test_data? #1

Closed qpc001 closed 10 months ago

qpc001 commented 10 months ago

using default param:

## 3D-BBS Parameters
min_level_res: 1.0 # [m]
max_level: 6

## Angular Search Range
# 6.28 input is converted to 2*M_PI
min_rpy: [-0.02,-0.02,0.0]
max_rpy: [0.02,0.02,6.28]

################[Optional]################
## Downsample Target Clouds Parameter
valid_tar_vgf: true
tar_leaf_size: 0.1

## Downsample Source Clouds Parameter
valid_src_vgf: true
src_leaf_size: 2.0

cut_src_points: true 
scan_range:
  - 0.0 # min [m]
  - 100 # max [m]

## Final align
use_gicp: false

image

KOKIAOKI commented 10 months ago

Thank you for testing our code. Are source folder path and target folder path correctly set in yaml? What cuda version do you use?

qpc001 commented 10 months ago

Thank you for testing our code. Are source folder path and target folder path correctly set in yaml? What cuda version do you use?

The path is correct, I am using CUDA 11.2 and 11.4

KOKIAOKI commented 10 months ago

Can you change cuda to 12 or higher? Currently, no other possible causes have been found.

qpc001 commented 10 months ago

Can you change cuda to 12 or higher? Currently, no other possible causes have been found.

I fix this by replace bucket.head<3>() == coord by bucket.x() != coord.x() || bucket.y() != coord.y() || bucket.z() != coord.z()

KOKIAOKI commented 10 months ago

Thank youf for fixing code. for loop did not work correctly due to break. I approved your PR and merge it into main branch.