added comment on rankTol

release/4.3a0
lcarlone 2021-09-03 22:16:46 -04:00
parent 224610ae1e
commit bd10fcb0ea
1 changed files with 3 additions and 0 deletions

View File

@ -1337,6 +1337,9 @@ TEST( SmartProjectionFactorP, 2poses_sphericalCamera_rankTol ) {
}
// SAME TEST WITH SMALLER RANK TOL
{// rankTol = 0.01 gives a valid point
// By playing with this test, we can show we can triangulate also with a baseline of 5cm (even for points
// far away, >100m), but the test fails when the baseline becomes 1cm. This suggests using
// rankTol = 0.01 and setting a reasonable max landmark distance to obtain best results.
SmartProjectionParams params;
params.setRankTolerance(0.01);