Fixed sign of errors
parent
a4d1874af4
commit
0f198dc1d6
|
|
@ -160,7 +160,7 @@ TEST( SmartProjectionCameraFactor, noisy ) {
|
||||||
|
|
||||||
// Check whitened errors
|
// Check whitened errors
|
||||||
Vector expected(4);
|
Vector expected(4);
|
||||||
expected << 7, -235, -58, 242;
|
expected << -7, 235, 58, -242;
|
||||||
SmartFactor::Cameras cameras1 = factor1->cameras(values);
|
SmartFactor::Cameras cameras1 = factor1->cameras(values);
|
||||||
Point3 point1 = *factor1->point();
|
Point3 point1 = *factor1->point();
|
||||||
Vector actual = factor1->whitenedError(cameras1, point1);
|
Vector actual = factor1->whitenedError(cameras1, point1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue