10#include <gtsam/geometry/OrientedPlane3.h>
12#include <gtsam_unstable/dllexport.h>
60 Key poseKey,
Key anchorPoseKey,
Key landmarkKey)
61 : Base(
noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
65 Key poseKey,
Key anchorPoseKey,
Key landmarkKey)
66 : Base(
noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
69 void print(
const std::string& s =
"LocalOrientedPlane3Factor",
70 const KeyFormatter& keyFormatter = DefaultKeyFormatter)
const override;
86 Vector evaluateError(
const Pose3& wTwi,
const Pose3& wTwa,
87 const OrientedPlane3& a_plane,
88 boost::optional<Matrix&> H1 = boost::none,
89 boost::optional<Matrix&> H2 = boost::none,
90 boost::optional<Matrix&> H3 = boost::none)
const override;
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:724
std::uint64_t Key
Integer nonlinear key type.
Definition types.h:100
All noise models live in the noiseModel namespace.
Definition LossFunctions.cpp:27
Represents an infinite plane in 3D, which is composed of a planar normal and its perpendicular distan...
Definition OrientedPlane3.h:36
NoiseModelFactorN()
Definition NonlinearFactor.h:469
Factor to measure a planar landmark from a given pose, with a given local linearization point.
Definition LocalOrientedPlane3Factor.h:38
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:59
LocalOrientedPlane3Factor()
Constructor.
Definition LocalOrientedPlane3Factor.h:44