42 typedef boost::shared_ptr<EssentialMatrixConstraint>
shared_ptr;
57 Base(model, key1, key2), measuredE_(measuredE) {
72 void print(
const std::string&
s =
"",
82 boost::optional<Matrix&> Hp1 = boost::none,
83 boost::optional<Matrix&> Hp2 = boost::none)
const override;
93 friend class boost::serialization::access;
94 template<
class ARCHIVE>
97 & boost::serialization::make_nvp(
"NoiseModelFactor2",
98 boost::serialization::base_object<Base>(*
this));
99 ar & BOOST_SERIALIZATION_NVP(measuredE_);
void print(const Matrix &A, const string &s, ostream &stream)
boost::shared_ptr< EssentialMatrixConstraint > shared_ptr
noiseModel::Diagonal::shared_ptr model
const EssentialMatrix & measured() const
void serialize(ARCHIVE &ar, const unsigned int)
EssentialMatrixConstraint(Key key1, Key key2, const EssentialMatrix &measuredE, const SharedNoiseModel &model)
EssentialMatrixConstraint()
static const KeyFormatter DefaultKeyFormatter
NoiseModelFactor2< Pose3, Pose3 > Base
const Symbol key1('v', 1)
boost::shared_ptr< This > shared_ptr
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
EssentialMatrixConstraint This
Non-linear factor base classes.
const Symbol key2('v', 2)
#define GTSAM_MAKE_ALIGNED_OPERATOR_NEW
gtsam::NonlinearFactor::shared_ptr clone() const override
EssentialMatrix measuredE_
std::uint64_t Key
Integer nonlinear key type.
~EssentialMatrixConstraint() override
noiseModel::Base::shared_ptr SharedNoiseModel