remove printing in unittest
parent
be0346ab87
commit
70974bd55e
|
|
@ -75,15 +75,12 @@ TEST( SimpleCamera, lookat)
|
||||||
Pose3 expected(Rot3(xc,yc,zc),C);
|
Pose3 expected(Rot3(xc,yc,zc),C);
|
||||||
CHECK(assert_equal( camera.pose(), expected));
|
CHECK(assert_equal( camera.pose(), expected));
|
||||||
|
|
||||||
|
|
||||||
Point3 C2(30.0,0.0,10.0);
|
Point3 C2(30.0,0.0,10.0);
|
||||||
SimpleCamera camera2 = SimpleCamera::lookat(C2, Point3(), Point3(0.0,0.0,1.0));
|
SimpleCamera camera2 = SimpleCamera::lookat(C2, Point3(), Point3(0.0,0.0,1.0));
|
||||||
|
|
||||||
Matrix R = camera2.pose().rotation().matrix();
|
Matrix R = camera2.pose().rotation().matrix();
|
||||||
Matrix I = trans(R)*R;
|
Matrix I = trans(R)*R;
|
||||||
gtsam::print(I,"I=");
|
|
||||||
CHECK(assert_equal(I, eye(3)));
|
CHECK(assert_equal(I, eye(3)));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue