50 std::vector<std::shared_ptr<Cal3_S2Stereo>>
K_all_;
83 const std::shared_ptr<Cal3_S2Stereo>&
K);
93 void add(
const std::vector<StereoPoint2>& measurements,
95 const std::vector<std::shared_ptr<Cal3_S2Stereo>>& Ks);
106 void add(
const std::vector<StereoPoint2>& measurements,
108 const std::shared_ptr<Cal3_S2Stereo>& K);
127 inline std::vector<std::shared_ptr<Cal3_S2Stereo>>
calibration()
const {
141 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION 142 friend class boost::serialization::access; 144 template <
class ARCHIVE>
145 void serialize(ARCHIVE& ar,
const unsigned int ) {
146 ar& BOOST_SERIALIZATION_BASE_OBJECT_NVP(Base);
147 ar& BOOST_SERIALIZATION_NVP(K_all_);
156 :
public Testable<SmartStereoProjectionPoseFactor> {};
void print(const Matrix &A, const string &s, ostream &stream)
std::shared_ptr< This > shared_ptr
shorthand for a smart pointer to a factor
std::vector< std::shared_ptr< Cal3_S2Stereo > > K_all_
shared pointer to calibration object (one for each camera)
std::string serialize(const T &input)
serializes to a string
CameraSet< Camera > Cameras
Smart stereo factor on StereoCameras (pose)
static Pose3 body_P_sensor(Rot3::RzRyRx(-M_PI_2, 0.0, -M_PI_2), Point3(0.25, -0.10, 1.0))
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW
static Cal3_S2 K(500, 500, 0.1, 640/2, 480/2)
static const KeyFormatter DefaultKeyFormatter
static const SmartProjectionParams params
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef SmartStereoProjectionFactor Base
shorthand for base class type
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
std::vector< std::shared_ptr< Cal3_S2Stereo > > calibration() const
graph add(PriorFactor< Pose2 >(1, priorMean, priorNoise))
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
std::uint64_t Key
Integer nonlinear key type.
SmartStereoProjectionPoseFactor This
shorthand for this class
noiseModel::Base::shared_ptr SharedNoiseModel
SmartProjectionParams SmartStereoProjectionParams