Merge pull request #1003 from borglab/fix/change-local-plane-factor-to-shared-noise-model
commit
a119eb8e59
|
@ -43,7 +43,7 @@ public:
|
||||||
/// Constructor
|
/// Constructor
|
||||||
LocalOrientedPlane3Factor() {}
|
LocalOrientedPlane3Factor() {}
|
||||||
|
|
||||||
virtual ~LocalOrientedPlane3Factor() {}
|
~LocalOrientedPlane3Factor() override {}
|
||||||
|
|
||||||
/** Constructor with measured plane (a,b,c,d) coefficients
|
/** Constructor with measured plane (a,b,c,d) coefficients
|
||||||
* @param z measured plane (a,b,c,d) coefficients as 4D vector
|
* @param z measured plane (a,b,c,d) coefficients as 4D vector
|
||||||
|
@ -56,12 +56,12 @@ public:
|
||||||
* Note: The anchorPoseKey can simply be chosen as the first pose a plane
|
* Note: The anchorPoseKey can simply be chosen as the first pose a plane
|
||||||
* is observed.
|
* is observed.
|
||||||
*/
|
*/
|
||||||
LocalOrientedPlane3Factor(const Vector4& z, const SharedGaussian& noiseModel,
|
LocalOrientedPlane3Factor(const Vector4& z, const SharedNoiseModel& noiseModel,
|
||||||
Key poseKey, Key anchorPoseKey, Key landmarkKey)
|
Key poseKey, Key anchorPoseKey, Key landmarkKey)
|
||||||
: Base(noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
|
: Base(noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
|
||||||
|
|
||||||
LocalOrientedPlane3Factor(const OrientedPlane3& z,
|
LocalOrientedPlane3Factor(const OrientedPlane3& z,
|
||||||
const SharedGaussian& noiseModel,
|
const SharedNoiseModel& noiseModel,
|
||||||
Key poseKey, Key anchorPoseKey, Key landmarkKey)
|
Key poseKey, Key anchorPoseKey, Key landmarkKey)
|
||||||
: Base(noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
|
: Base(noiseModel, poseKey, anchorPoseKey, landmarkKey), measured_p_(z) {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue