Skip to content

Increase tolerance in FPCSInitialAlignment test#6446

Merged
mvieth merged 1 commit into
PointCloudLibrary:masterfrom
ruslo:pr.fpcs_tolerance
Jun 2, 2026
Merged

Increase tolerance in FPCSInitialAlignment test#6446
mvieth merged 1 commit into
PointCloudLibrary:masterfrom
ruslo:pr.fpcs_tolerance

Conversation

@ruslo
Copy link
Copy Markdown
Contributor

@ruslo ruslo commented Jun 2, 2026

Failure example:

test/registration/test_fpcs_ia.cpp:87: Failure
The difference between transform_res_from_fpcs (i,j) and transform_from_fpcs[i][j] is 0.41199848335236311, which exceeds 0.25, where
transform_res_from_fpcs (i,j) evaluates to 0.4015984833240509,
transform_from_fpcs[i][j] evaluates to -0.010400000028312206

Issue can be reproduced by running in a loop until it fails:

(cd /.../build/test/registration && while true; do /.../build/test/registration/test_fpcs_ia /.../test/bun0.pcd /.../test/bun4.pcd || break; done)

Failure example:

```
test/registration/test_fpcs_ia.cpp:87: Failure
The difference between transform_res_from_fpcs (i,j) and transform_from_fpcs[i][j] is 0.41199848335236311, which exceeds 0.25, where
transform_res_from_fpcs (i,j) evaluates to 0.4015984833240509,
transform_from_fpcs[i][j] evaluates to -0.010400000028312206
```

Issue can be reproduced by running in a loop until it fails:

```
(cd /.../build/test/registration && while true; do /.../build/test/registration/test_fpcs_ia /.../test/bun0.pcd /.../test/bun4.pcd || break; done)
```
@mvieth mvieth added module: test module: registration changelog: fix Meta-information for changelog generation labels Jun 2, 2026
Copy link
Copy Markdown
Member

@mvieth mvieth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I guess computing differences between the entries of the transformation matrices is not the best approach to test this anyway ...

@mvieth mvieth merged commit bc6714e into PointCloudLibrary:master Jun 2, 2026
13 checks passed
@ruslo ruslo deleted the pr.fpcs_tolerance branch June 3, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: fix Meta-information for changelog generation module: registration module: test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants