diff --git a/examples/SFMExample.cpp b/examples/SFMExample.cpp index eaabb3ea9..893454936 100644 --- a/examples/SFMExample.cpp +++ b/examples/SFMExample.cpp @@ -99,7 +99,7 @@ int main(int argc, char* argv[]) { for (size_t i = 0; i < poses.size(); ++i) initialEstimate.insert(Symbol('x', i), poses[i].compose(Pose3(Rot3::Rodrigues(-0.1, 0.2, 0.25), Point3(0.05, -0.10, 0.20)))); for (size_t j = 0; j < points.size(); ++j) - initialEstimate.insert(Symbol('l', j), points[j] + Point3(-0.25, 0.20, 0.15)); + initialEstimate.insert(Symbol('l', j), points[j] + Point3(-0.25, 0.20, 0.15)); initialEstimate.print("Initial Estimates:\n"); /* Optimize the graph and print results */ diff --git a/examples/SFMExampleExpressions.cpp b/examples/SFMExampleExpressions.cpp index 8a59100da..30db9144d 100644 --- a/examples/SFMExampleExpressions.cpp +++ b/examples/SFMExampleExpressions.cpp @@ -88,7 +88,7 @@ int main(int argc, char* argv[]) { for (size_t i = 0; i < poses.size(); ++i) initial.insert(Symbol('x', i), poses[i].compose(delta)); for (size_t j = 0; j < points.size(); ++j) - initial.insert(Symbol('l', j), points[j] + Point3(-0.25, 0.20, 0.15)); + initial.insert(Symbol('l', j), points[j] + Point3(-0.25, 0.20, 0.15)); cout << "initial error = " << graph.error(initial) << endl; /* Optimize the graph and print results */ diff --git a/examples/SelfCalibrationExample.cpp b/examples/SelfCalibrationExample.cpp index 066b16e8a..1c5d155dc 100644 --- a/examples/SelfCalibrationExample.cpp +++ b/examples/SelfCalibrationExample.cpp @@ -84,7 +84,7 @@ int main(int argc, char* argv[]) { for (size_t i = 0; i < poses.size(); ++i) initialEstimate.insert(Symbol('x', i), poses[i].compose(Pose3(Rot3::Rodrigues(-0.1, 0.2, 0.25), Point3(0.05, -0.10, 0.20)))); for (size_t j = 0; j < points.size(); ++j) - initialEstimate.insert(Symbol('l', j), points[j] + Point3(-0.25, 0.20, 0.15)); + initialEstimate.insert(Symbol('l', j), points[j] + Point3(-0.25, 0.20, 0.15)); /* Optimize the graph and print results */ Values result = DoglegOptimizer(graph, initialEstimate).optimize(); diff --git a/examples/VisualISAM2Example.cpp b/examples/VisualISAM2Example.cpp index c0b4b5b0a..78bc463ec 100644 --- a/examples/VisualISAM2Example.cpp +++ b/examples/VisualISAM2Example.cpp @@ -113,7 +113,7 @@ int main(int argc, char* argv[]) { // Add initial guesses to all observed landmarks // Intentionally initialize the variables off from the ground truth for (size_t j = 0; j < points.size(); ++j) - initialEstimate.insert(Symbol('l', j), points[j] +Point3(-0.25, 0.20, 0.15)); + initialEstimate.insert(Symbol('l', j), points[j] +Point3(-0.25, 0.20, 0.15)); } else { // Update iSAM with the new factors