2 GTSAM Copyright 2010-2019, Georgia Tech Research Corporation, 3 Atlanta, Georgia 30332-0415 6 See LICENSE for the license information 8 Cal3Unified unit tests. 9 Author: Frank Dellaert & Duy Nguyen Ta (Python) 23 self.assertEqual(K.fx(), 1.)
24 self.assertEqual(K.fx(), 1.)
28 1e-3 + 7, 2.0*1e-3 + 8, 3.0*1e-3 + 9, 4.0*1e-3 + 10, 0.1 + 1)
30 1e-3, 2.0*1e-3, 3.0*1e-3, 4.0*1e-3, 0.1)
31 d = np.array([2, 3, 4, 5, 6, 7, 8, 9, 10, 1], order=
'F')
34 np.testing.assert_allclose(d, K.localCoordinates(actual))
37 if __name__ ==
"__main__":
def gtsamAssertEquals(self, actual, expected, tol=1e-9)
def test_Cal3Unified(self)