mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
updating test bound for mac
This commit is contained in:
@@ -1968,9 +1968,11 @@ TEST_P(BundleAdjustmentTest, CircleCamerasRecoverPosesAndPoints)
|
|||||||
// adds ~0.5 px noise that *can* balance the info matrix and
|
// adds ~0.5 px noise that *can* balance the info matrix and
|
||||||
// recover ~8x tighter points (observed on Linux/OpenBLAS), but
|
// recover ~8x tighter points (observed on Linux/OpenBLAS), but
|
||||||
// the pattern doesn't reproduce on macOS/Accelerate, where
|
// the pattern doesn't reproduce on macOS/Accelerate, where
|
||||||
// recovery still sits around the continuous-pixel spread -- so
|
// recovery sits around the continuous-pixel spread regardless
|
||||||
// the rounded bounds are widened to cover that.
|
// of rounding -- so both the pose bound and the rounded point
|
||||||
poseDistMax = roundPixels ? 0.06f : 0.02f;
|
// bound are widened to cover that. The continuous-pixel point
|
||||||
|
// bound was already loose (0.15) for the info-matrix reason.
|
||||||
|
poseDistMax = 0.06f;
|
||||||
pointDistMax = roundPixels ? 0.06f : 0.15f;
|
pointDistMax = roundPixels ? 0.06f : 0.15f;
|
||||||
}
|
}
|
||||||
else if(variant == BaVariant::kWithDepthNoLinks)
|
else if(variant == BaVariant::kWithDepthNoLinks)
|
||||||
|
|||||||
Reference in New Issue
Block a user