2 GTSAM Copyright 2010-2020, Georgia Tech Research Corporation,
3 Atlanta, Georgia 30332-0415
6 See LICENSE for the license information
8 Unit tests to check pickling.
14 from gtsam
import (Cal3Bundler, PinholeCameraCal3Bundler, Point2, Point3,
15 Pose3, Rot3, SfmTrack, Unit3)
19 """Tests pickling on some of the classes."""
22 obj =
Cal3Bundler(fx=100, k1=0.1, k2=0.2, u0=100, v0=70)
33 obj = Rot3.RzRyRx(0, 0.05, 0.1)
37 obj =
Pose3(Rot3.Ypr(0.0, 1.0, 0.0),
Point3(1, 1, 0))
42 obj.addMeasurement(0,
Point2(-1, 5))
43 obj.addMeasurement(1,
Point2(6, 2))