Go to the documentation of this file.
12 #include <gtsam_unstable/dllexport.h>
39 using Base::evaluateError;
50 return std::static_pointer_cast<gtsam::NonlinearFactor>(
58 inline double measured()
const {
return measured_; }
68 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
70 friend class boost::serialization::access;
71 template<
class ARCHIVE>
72 void serialize(ARCHIVE & ar,
const unsigned int ) {
74 ar & boost::serialization::make_nvp(
"NoiseModelFactor2",
75 boost::serialization::base_object<Base>(*
this));
76 ar & BOOST_SERIALIZATION_NVP(measured_);
std::shared_ptr< This > shared_ptr
static const Pose3 pose(Rot3(Vector3(1, -1, -1).asDiagonal()), Point3(0, 0, 0.5))
const gtsam::Key pointKey
Array< double, 1, 3 > e(1./3., 0.5, 2.)
RelativeElevationFactor This
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
gtsam::NonlinearFactor::shared_ptr clone() const override
void print(const Matrix &A, const string &s, ostream &stream)
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
noiseModel::Base::shared_ptr SharedNoiseModel
noiseModel::Diagonal::shared_ptr model
Non-linear factor base classes.
~RelativeElevationFactor() override
RelativeElevationFactor()
Matrix * OptionalMatrixType
std::uint64_t Key
Integer nonlinear key type.
NoiseModelFactorN< Pose3, Point3 > Base
gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:34:56