Measurement should be Point2

release/4.3a0
dellaert 2014-12-21 18:44:38 +01:00
parent 2218f2ca88
commit 0c74ed8686
1 changed files with 1 additions and 1 deletions

View File

@ -349,7 +349,7 @@ inline boost::shared_ptr<const NonlinearFactorGraph> sharedReallyNonlinearFactor
using symbol_shorthand::X;
using symbol_shorthand::L;
boost::shared_ptr<NonlinearFactorGraph> fg(new NonlinearFactorGraph);
Vector2 z = Vector2(1.0, 0.0);
Point2 z(1.0, 0.0);
double sigma = 0.1;
boost::shared_ptr<smallOptimize::UnaryFactor> factor(
new smallOptimize::UnaryFactor(z, noiseModel::Isotropic::Sigma(2,sigma), X(1)));