Unit test bug fix - wasn't a rotation matrix

release/4.3a0
Richard Roberts 2011-11-09 01:39:18 +00:00
parent 3db9bb1a00
commit 3cd3a06eb7
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ TEST (testNonlinearEqualityConstraint, stereo_constrained ) {
Rot3 faceDownY(Matrix_(3,3,
1.0, 0.0, 0.0,
0.0, 0.0, 1.0,
0.0, 1.0, 0.0));
0.0, -1.0, 0.0));
Pose3 pose1(faceDownY, Point3()); // origin, left camera
SimpleCamera camera1(K, pose1);
Pose3 pose2(faceDownY, Point3(2.0, 0.0, 0.0)); // 2 units to the left