fix small bugs in matlab wrapper to make it compiled. Still have runtime errors in when calling graph.optimize in matlab

release/4.3a0
Duy-Nguyen Ta 2012-02-25 17:31:00 +00:00
parent 342ccf644e
commit 1345a5fe86
2 changed files with 3 additions and 3 deletions

View File

@ -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');

View File

@ -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 {