Skip to content

Commit

Permalink
Reduced residual expectation for perturbed case
Browse files Browse the repository at this point in the history
  • Loading branch information
marip8 committed Jun 29, 2020
1 parent 2fe62fa commit 0fa3016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rct_optimizations/test/pnp_utest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ TEST(PNP_2D, PerturbedInitialCondition)
PnPResult result = optimize(problem);
EXPECT_TRUE(result.converged);
EXPECT_TRUE(result.camera_to_target.isApprox(target_to_camera.inverse(), 1.0e-8));
EXPECT_LT(result.final_cost_per_obs, 1.0e-14);
EXPECT_LT(result.final_cost_per_obs, 1.0e-12);

for (Eigen::Index row = 0; row < result.camera_to_target_covariance.rows(); ++row)
{
Expand Down

0 comments on commit 0fa3016

Please sign in to comment.