Skip to content

Commit

Permalink
Relax unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerKuemmerle committed Jul 20, 2024
1 parent f51c609 commit 28e9b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unit_test/slam2d/jacobians_slam2d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ TEST(Slam2D, EdgeSE2PointXYBearingJacobian) {
v1->setEstimate(randomSE2());
v2->setEstimate(Eigen::Vector2d::Random());
e.setMeasurement(g2o::Sampler::uniformRand(-1., 1.) * M_PI);
} while ((v1->estimate().inverse() * v2->estimate()).norm() < 1e-6);
} while ((v1->estimate().inverse() * v2->estimate()).norm() < 1e-3);

/* Note a larger tolerance versus the default of 1e-6 must be used due to
* poor behaviour of the numerical difference function that is used to
Expand Down

0 comments on commit 28e9b06

Please sign in to comment.