mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-06 18:17:47 +08:00
fixing flaky tests on windows and mac
This commit is contained in:
@@ -649,14 +649,14 @@ TEST_F(RtabmapIntegrationFixture, PR2_Scan2D_RGBD)
|
||||
EXPECT_GE(result.gridObstacleCells, 4200);
|
||||
EXPECT_LE(result.gridObstacleCells, 5100);
|
||||
#ifdef RTABMAP_OCTOMAP
|
||||
// Observed: empty 6072-8037, obstacle 39924-42883. Bounds are wide
|
||||
// because without g2o (OdomF2M/BundleAdjustment disabled) visual
|
||||
// odometry drifts a bit differently run-to-run, which propagates into
|
||||
// the assembled occupancy grid.
|
||||
// Observed: empty 6072-8037, obstacle 39924-44130. Bounds are wide
|
||||
// because visual odometry drifts a bit differently run-to-run across
|
||||
// platforms (different OpenCV versions and g2o-vs-no-g2o BA), which
|
||||
// propagates into the assembled occupancy grid.
|
||||
EXPECT_GE(result.octomapEmptyCells, 5500);
|
||||
EXPECT_LE(result.octomapEmptyCells, 8500);
|
||||
EXPECT_GE(result.octomapObstacleCells, 38000);
|
||||
EXPECT_LE(result.octomapObstacleCells, 44000);
|
||||
EXPECT_LE(result.octomapObstacleCells, 44500);
|
||||
#endif
|
||||
// RGB-D F2M visual odom + visual loop closure -- observed RMSE ~13 cm
|
||||
// (less stable than the stereo/ICP paths), 20 cm bound gives ~50%
|
||||
|
||||
Reference in New Issue
Block a user