25#include <gtsam/geometry/OrientedPlane3.h>
28#include <gtsam_unstable/dllexport.h>
80 Key poseKey,
Key anchorPoseKey,
Key landmarkKey)
81 : Base(
noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
85 Key poseKey,
Key anchorPoseKey,
Key landmarkKey)
86 : Base(
noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
89 void print(
const std::string& s =
"LocalOrientedPlane3Factor",
90 const KeyFormatter& keyFormatter = DefaultKeyFormatter)
const override;
106 Vector3 evaluateError(
const Pose3& wTwi,
const Pose3& wTwa,
107 const OrientedPlane3& a_plane, OptionalMatrixType H1,
108 OptionalMatrixType H2,
109 OptionalMatrixType H3)
const override;
Base class for noise model factors with N variables.
Non-linear factor base classes.
Global functions in a separate testing namespace.
Definition chartTesting.h:28
noiseModel::Base::shared_ptr SharedNoiseModel
Aliases.
Definition NoiseModel.h:846
std::uint64_t Key
Integer nonlinear key type.
Definition types.h:43
All noise models live in the noiseModel namespace.
Definition LossFunctions.cpp:33
Represents an infinite plane in 3D, which is composed of a planar normal and its perpendicular distan...
Definition OrientedPlane3.h:39
NoiseModelFactorT()
Definition NoiseModelFactorN.h:257
virtual Vector3 evaluateError(const ValueTypes &... x, OptionalMatrixTypeT< ValueTypes >... H) const=0
Factor to measure a planar landmark from a given pose, with a given local linearization point.
Definition LocalOrientedPlane3Factor.h:54
LocalOrientedPlane3Factor(const Vector4 &z, const SharedNoiseModel &noiseModel, Key poseKey, Key anchorPoseKey, Key landmarkKey)
Constructor with measured plane (a,b,c,d) coefficients.
Definition LocalOrientedPlane3Factor.h:79
LocalOrientedPlane3Factor()
Constructor.
Definition LocalOrientedPlane3Factor.h:64