diff --git a/examples/matlab/Pose2SLAMExample_easy.m b/examples/matlab/Pose2SLAMExample_easy.m index bbafba99d..6c359f314 100644 --- a/examples/matlab/Pose2SLAMExample_easy.m +++ b/examples/matlab/Pose2SLAMExample_easy.m @@ -39,7 +39,7 @@ graph.addOdometry(x2, x3, odom_measurement, odom_model); %% Add measurements % general noisemodel for measurements -meas_model = SharedNoiseModel_sharedSigmas([0.1; 0.2]); +meas_model = gtsamSharedNoiseModel_Sigmas([0.1; 0.2]); % print graph.print('full graph'); diff --git a/gtsam.h b/gtsam.h index 688fc4fa7..26f3457c7 100644 --- a/gtsam.h +++ b/gtsam.h @@ -214,7 +214,7 @@ class CalibratedCamera { CalibratedCamera(const Vector& v); void print(string s) const; - bool equals(const gtsam::Pose3& pose, double tol) const; + bool equals(const gtsam::CalibratedCamera& camera, double tol) const; gtsam::Pose3 pose() const; @@ -404,7 +404,7 @@ class Ordering { Ordering(); void print(string s) const; bool equals(const gtsam::Ordering& ord, double tol) const; - void push_back(string key); + void push_back(size_t key); }; class NonlinearOptimizationParameters {