diff --git a/examples/SelfCalibrationExample.cpp b/examples/SelfCalibrationExample.cpp index 58f59b7e2..d83bfa9e1 100644 --- a/examples/SelfCalibrationExample.cpp +++ b/examples/SelfCalibrationExample.cpp @@ -46,8 +46,8 @@ using namespace gtsam; int main(int argc, char* argv[]) { // Create the set of ground-truth - std::vector points = createPoints(); - std::vector poses = createPoses(); + vector points = createPoints(); + vector poses = createPoses(); // Create the factor graph NonlinearFactorGraph graph; diff --git a/examples/VisualISAM2Example.cpp b/examples/VisualISAM2Example.cpp index f4ae59183..d0ea9f752 100644 --- a/examples/VisualISAM2Example.cpp +++ b/examples/VisualISAM2Example.cpp @@ -64,10 +64,10 @@ int main(int argc, char* argv[]) { noiseModel::Isotropic::shared_ptr measurementNoise = noiseModel::Isotropic::Sigma(2, 1.0); // one pixel in u and v // Create the set of ground-truth landmarks - std::vector points = createPoints(); + vector points = createPoints(); // Create the set of ground-truth poses - std::vector poses = createPoses(); + vector poses = createPoses(); // Create an iSAM2 object. Unlike iSAM1, which performs periodic batch steps to maintain proper linearization // and efficient variable ordering, iSAM2 performs partial relinearization/reordering at each step. A parameter diff --git a/examples/VisualISAMExample.cpp b/examples/VisualISAMExample.cpp index bb79fd27c..0c10fe307 100644 --- a/examples/VisualISAMExample.cpp +++ b/examples/VisualISAMExample.cpp @@ -64,10 +64,10 @@ int main(int argc, char* argv[]) { noiseModel::Isotropic::shared_ptr measurementNoise = noiseModel::Isotropic::Sigma(2, 1.0); // one pixel in u and v // Create the set of ground-truth landmarks - std::vector points = createPoints(); + vector points = createPoints(); // Create the set of ground-truth poses - std::vector poses = createPoses(); + vector poses = createPoses(); // Create a NonlinearISAM object which will relinearize and reorder the variables every "relinearizeInterval" updates int relinearizeInterval = 3; diff --git a/examples/VisualSLAMExample.cpp b/examples/VisualSLAMExample.cpp index 0bf54f1ba..0919cbb9b 100644 --- a/examples/VisualSLAMExample.cpp +++ b/examples/VisualSLAMExample.cpp @@ -71,10 +71,10 @@ int main(int argc, char* argv[]) { noiseModel::Isotropic::shared_ptr measurementNoise = noiseModel::Isotropic::Sigma(2, 1.0); // one pixel in u and v // Create the set of ground-truth landmarks - std::vector points = createPoints(); + vector points = createPoints(); // Create the set of ground-truth poses - std::vector poses = createPoses(); + vector poses = createPoses(); // Create a factor graph NonlinearFactorGraph graph; @@ -99,7 +99,7 @@ int main(int argc, char* argv[]) { graph.push_back(PriorFactor(Symbol('l', 0), points[0], pointNoise)); // add directly to graph graph.print("Factor Graph:\n"); - // Create the data structure to hold the initialEstimate estimate to the solution + // Create the data structure to hold the initial estimate to the solution // Intentionally initialize the variables off from the ground truth Values initialEstimate; for (size_t i = 0; i < poses.size(); ++i)