2 GTSAM Copyright 2010-2019, Georgia Tech Research Corporation, 3 Atlanta, Georgia 30332-0415 6 See LICENSE for the license information 8 Unit tests for various factors. 21 Test various instantiations of NonlinearEquality2. 25 """Test for Point3 version.""" 26 factor = gtsam.NonlinearEquality2Point3(0, 1)
30 np.testing.assert_allclose(error, np.zeros(3))
34 """Test JacobianFactor""" 37 """Test construction from GaussianFactorGraph.""" 46 gfg = nfg.linearize(values)
51 if __name__ ==
"__main__":
def test_gaussian_factor_graph(self)
static shared_ptr Sigma(size_t dim, double sigma, bool smart=true)