50 std::vector<std::shared_ptr<Cal3_S2Stereo>>
K_all_;
53 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
72 const std::optional<Pose3>& body_P_sensor = {});
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);
116 DefaultKeyFormatter)
const override;
124 double error(
const Values& values)
const override;
127 inline std::vector<std::shared_ptr<Cal3_S2Stereo>>
calibration()
const {
138 Base::Cameras cameras(
const Values& values)
const override;
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> {};
std::shared_ptr< This > shared_ptr
shorthand for a smart pointer to a factor
Definition: SmartStereoProjectionPoseFactor.h:62
std::vector< std::shared_ptr< Cal3_S2Stereo > > K_all_
shared pointer to calibration object (one for each camera)
Definition: SmartStereoProjectionPoseFactor.h:50
Definition: SmartFactorParams.h:42
Definition: SmartStereoProjectionPoseFactor.h:46
std::string serialize(const T &input)
serializes to a string
Definition: serialization.h:113
Definition: Testable.h:152
Definition: NonlinearFactor.h:68
Smart stereo factor on StereoCameras (pose)
Definition: Testable.h:112
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef SmartStereoProjectionFactor Base
shorthand for base class type
Definition: SmartStereoProjectionPoseFactor.h:56
GTSAM_EXPORT void print(const Matrix &A, const std::string &s, std::ostream &stream)
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Definition: Key.h:35
Definition: chartTesting.h:28
FastVector< Key > KeyVector
Define collection type once and for all - also used in wrappers.
Definition: Key.h:86
Definition: StereoPoint2.h:34
std::vector< std::shared_ptr< Cal3_S2Stereo > > calibration() const
Definition: SmartStereoProjectionPoseFactor.h:127
Definition: SmartStereoProjectionFactor.h:55
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:102
SmartStereoProjectionPoseFactor This
shorthand for this class
Definition: SmartStereoProjectionPoseFactor.h:59
noiseModel::Base::shared_ptr SharedNoiseModel
Definition: NoiseModel.h:741