10#include <gtsam/geometry/OrientedPlane3.h>
58 Key poseKey,
Key anchorPoseKey,
Key landmarkKey)
59 :
Base(
noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
63 Key poseKey,
Key anchorPoseKey,
Key landmarkKey)
64 : Base(
noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
67 void print(
const std::string& s =
"LocalOrientedPlane3Factor",
68 const KeyFormatter& keyFormatter = DefaultKeyFormatter)
const override;
85 const OrientedPlane3& a_plane,
86 boost::optional<Matrix&> H1 = boost::none,
87 boost::optional<Matrix&> H2 = boost::none,
88 boost::optional<Matrix&> H3 = boost::none)
const override;
Non-linear factor base classes.
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
std::uint64_t Key
Integer nonlinear key type.
Definition: types.h:69
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
Represents an infinite plane in 3D, which is composed of a planar normal and its perpendicular distan...
Definition: OrientedPlane3.h:36
This is the base class for all factor types.
Definition: Factor.h:56
const SharedNoiseModel & noiseModel() const
access to the noise model
Definition: NonlinearFactor.h:211
A convenient base class for creating your own NoiseModelFactor with 3 variables.
Definition: NonlinearFactor.h:444
Factor to measure a planar landmark from a given pose, with a given local linearization point.
Definition: LocalOrientedPlane3Factor.h:36
void print(const std::string &s="LocalOrientedPlane3Factor", const KeyFormatter &keyFormatter=DefaultKeyFormatter) const override
print
Definition: LocalOrientedPlane3Factor.cpp:15
LocalOrientedPlane3Factor(const Vector4 &z, const SharedGaussian &noiseModel, Key poseKey, Key anchorPoseKey, Key landmarkKey)
Constructor with measured plane (a,b,c,d) coefficients.
Definition: LocalOrientedPlane3Factor.h:57
LocalOrientedPlane3Factor()
Constructor.
Definition: LocalOrientedPlane3Factor.h:42
Vector evaluateError(const Pose3 &wTwi, const Pose3 &wTwa, const OrientedPlane3 &a_plane, boost::optional< Matrix & > H1=boost::none, boost::optional< Matrix & > H2=boost::none, boost::optional< Matrix & > H3=boost::none) const override
Override this method to finish implementing a trinary factor.
Definition: LocalOrientedPlane3Factor.cpp:25