Fix wrapper
parent
b45c55c9f4
commit
2d170e4cac
|
@ -911,7 +911,7 @@ class Cal3Bundler {
|
|||
class FundamentalMatrix {
|
||||
// Constructors
|
||||
FundamentalMatrix();
|
||||
FundamentalMatrix(const gtsam::Rot3& U, double s, const gtsam::Rot3& V);
|
||||
FundamentalMatrix(const gtsam::Matrix3& U, double s, const gtsam::Matrix3& V);
|
||||
FundamentalMatrix(const gtsam::Matrix3& F);
|
||||
|
||||
// Overloaded constructors for specific calibration types
|
||||
|
|
|
@ -29,7 +29,7 @@ class TestFundamentalMatrix(unittest.TestCase):
|
|||
self.trueU = Rot3.Yaw(np.pi / 2)
|
||||
self.trueV = Rot3.Yaw(np.pi / 4)
|
||||
self.trueS = 0.5
|
||||
self.trueF = FundamentalMatrix(self.trueU, self.trueS, self.trueV)
|
||||
self.trueF = FundamentalMatrix(self.trueU.matrix(), self.trueS, self.trueV.matrix())
|
||||
|
||||
def test_localCoordinates(self):
|
||||
expected = np.zeros(7) # Assuming 7 dimensions for U, V, and s
|
||||
|
|
Loading…
Reference in New Issue