31 using namespace gtsam;
46 template<
class T>
struct pack {
58 static Rot3 rt3 = Rot3::RzRyRx(1.0, 3.0, 2.0);
62 static Cal3DS2 cal2(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0);
65 TEST (Serialization, TemplatedValues) {
static int runAllTests(TestResult &result)
A non-templated config holding any types of Manifold-group elements.
void insert(Key j, const Value &val)
int RealScalar int RealScalar int RealScalar * pc
bool equalsObj(const T &input=T())
Calibration of a camera with radial distortion, calculations in base class Cal3DS2_Base.
bool equalsXML(const T &input=T())
bool equalsBinary(const T &input=T())
Base class for all pinhole cameras.
static Cal3Bundler cal3(1.0, 2.0, 3.0)
static Pose3 pose3(rt3, pt3)
#define EXPECT(condition)
PinholeCamera< Cal3DS2 > PinholeCal3DS2
static Point3 pt3(1.0, 2.0, 3.0)
GTSAM_VALUE_EXPORT(gtsam::Cal3_S2)
static Cal3DS2 cal2(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0)
Calibration used by Bundler.
PinholeCamera< Cal3Bundler > PinholeCal3Bundler
PinholeCamera< Cal3_S2 > PinholeCal3S2
The most common 5DOF 3D->2D calibration.
TEST(Serialization, TemplatedValues)
static Cal3_S2 cal1(1.0, 2.0, 0.3, 0.1, 0.5)