7 noiseModel::Diagonal::Sigmas(
Vector3(0.3, 0.3, 0.1));
13 noiseModel::Diagonal::Sigmas(
Vector3(0.2, 0.2, 0.1));
14 graph.add(BetweenFactor<Pose2>(1, 2,
odometry, odometryNoise));
15 graph.add(BetweenFactor<Pose2>(2, 3,
odometry, odometryNoise));
noiseModel::Diagonal::shared_ptr odometryNoise
NonlinearFactorGraph graph
Pose2 priorMean(0.0, 0.0, 0.0)
noiseModel::Diagonal::shared_ptr priorNoise
Pose2 odometry(2.0, 0.0, 0.0)