both boost and ptr version compile. ptr version tests failt
parent
ce02873140
commit
43b5ed78de
|
@ -144,7 +144,7 @@ namespace simulated2D {
|
|||
|
||||
/// Return error and optional derivative
|
||||
Vector evaluateError(const Pose& x, OptionalMatrixType H) const override {
|
||||
return (prior(x, H) - measured_);
|
||||
return (simulated2D::prior(x, H) - measured_);
|
||||
}
|
||||
|
||||
~GenericPrior() override {}
|
||||
|
|
|
@ -92,7 +92,7 @@ struct PointPrior3D: public NoiseModelFactor1<Point3> {
|
|||
* @return Vector error between prior value and x (Dimension: 3)
|
||||
*/
|
||||
Vector evaluateError(const Point3& x, OptionalMatrixType H) const override {
|
||||
return prior(x, H) - measured_;
|
||||
return simulated3D::prior(x, H) - measured_;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue