fix small bugs in matlab wrapper to make it compiled. Still have runtime errors in when calling graph.optimize in matlab
parent
342ccf644e
commit
1345a5fe86
|
@ -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');
|
||||
|
|
4
gtsam.h
4
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 {
|
||||
|
|
Loading…
Reference in New Issue