38 enum { dimension = 9 };
47 double k2,
double p1 = 0.0,
double p2 = 0.0,
double tol = 1
e-5)
63 GTSAM_EXPORT
friend std::ostream&
operator<<(std::ostream&
os,
67 void print(
const std::string&
s =
"")
const override;
83 size_t dim()
const override {
return Dim(); }
86 inline static size_t Dim() {
return dimension; }
93 boost::shared_ptr<Base>
clone()
const override {
94 return boost::shared_ptr<Base>(
new Cal3DS2(*
this));
104 friend class boost::serialization::access;
105 template <
class Archive>
107 ar& boost::serialization::make_nvp(
108 "Cal3DS2", boost::serialization::base_object<Cal3DS2_Base>(*
this));
void print(const Matrix &A, const string &s, ostream &stream)
Both ManifoldTraits and Testable.
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
void serialize(Archive &ar, const unsigned int)
boost::shared_ptr< Base > clone() const override
static Cal3_S2 K(500, 500, 0.1, 640/2, 480/2)
Pose2 T2(M_PI/2.0, Point2(0.0, 2.0))
size_t dim() const override
Return dimensions of calibration manifold object.
Cal3DS2(const Vector9 &v)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Cal3DS2(double fx, double fy, double s, double u0, double v0, double k1, double k2, double p1=0.0, double p2=0.0, double tol=1e-5)
static size_t Dim()
Return dimensions of calibration manifold object.
ofstream os("timeSchurFactors.csv")