manif icon indicating copy to clipboard operation
manif copied to clipboard

Failing unit test

Open artivis opened this issue 2 years ago • 0 comments

A unit test is failing (rather rarely) with the following,

manif/test/so3/../common_tester.h:982: Failure
Value of: manif::isManifNear(state_pert, state_lin, "state_pert", "state_lin", tol_)
  Actual: false (state_pert != state_lin
state_pert:
 1.0545434951782227
-2.3401219844818115
 1.8107612133026123
state_lin:
 -1.054801344871521
 2.3407447338104248
-1.8112318515777588
diff:
 2.1093449592590332
-4.6808667182922363
 3.6219930648803711
)
Expected: true
[  FAILED  ] SO3fJacobiansTests/SO3fJacobiansTester.TEST_SO3f_MINUS_JACOBIANS/2, where GetParam() = ( -0.313825  0.0687507 -0.0572944   0.945254, -0.310345  0.544041 -0.755725  -0.19127, -2.21149 -0.28521  2.05055,   -1.4223 -0.228183  -2.78977) (0 ms)

This concerns both SO3f & SO3d.

Seeing how state_pert and state_lin are pretty much appart by a factor -1, there might be an angle issue somewhere.

artivis avatar Oct 02 '21 17:10 artivis