Update MATLAB wrapper for earlier Pose2* changes
parent
46cc85e351
commit
39334ea9e0
35
cpp/gtsam.h
35
cpp/gtsam.h
|
@ -1,7 +1,10 @@
|
||||||
class Ordering {
|
class Ordering {
|
||||||
Ordering();
|
Ordering();
|
||||||
|
Ordering(string key);
|
||||||
|
Ordering subtract(const Ordering& keys) const;
|
||||||
void push_back(string s);
|
void push_back(string s);
|
||||||
void print(string s) const;
|
void print(string s) const;
|
||||||
|
bool equals(const Ordering& ord, double tol) const;
|
||||||
void unique ();
|
void unique ();
|
||||||
void reverse ();
|
void reverse ();
|
||||||
};
|
};
|
||||||
|
@ -162,19 +165,25 @@ class Simulated2DMeasurement {
|
||||||
void print(string s) const;
|
void print(string s) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class Pose2{
|
class Pose2 {
|
||||||
Pose2();
|
Pose2();
|
||||||
Pose2(const Pose2& pose);
|
Pose2(const Pose2& pose);
|
||||||
Pose2(double x, double y, double theta);
|
Pose2(double x, double y, double theta);
|
||||||
void print(string s);
|
Pose2(double theta, const Point2& t);
|
||||||
bool equals(const Pose2& pose, double tol);
|
Pose2(const Rot2& r, const Point2& t);
|
||||||
double x();
|
void print(string s) const;
|
||||||
double y();
|
bool equals(const Pose2& pose, double tol) const;
|
||||||
double theta();
|
double x() const;
|
||||||
size_t dim() const;
|
double y() const;
|
||||||
Pose2 exmap(Vector v) const;
|
double theta() const;
|
||||||
Vector vector() const;
|
Point2 t() const;
|
||||||
Pose2 rotate(double theta) const;
|
Rot2 r() const;
|
||||||
|
Vector vector() const;
|
||||||
|
size_t dim() const;
|
||||||
|
Pose2 exmap(const Vector& v) const;
|
||||||
|
Vector log(const Pose2& pose) const;
|
||||||
|
Pose2 inverse() const;
|
||||||
|
Pose2 compose(const Pose2& p1) const;
|
||||||
};
|
};
|
||||||
|
|
||||||
class Pose2Config{
|
class Pose2Config{
|
||||||
|
|
Loading…
Reference in New Issue