add Pose2.align() to wrapper
parent
e94ea7c70c
commit
13c164f25d
|
@ -31,6 +31,14 @@ class Point2 {
|
||||||
// enable pickling in python
|
// enable pickling in python
|
||||||
void pickle() const;
|
void pickle() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class Point2Pairs {
|
||||||
|
Point2Pairs();
|
||||||
|
size_t size() const;
|
||||||
|
bool empty() const;
|
||||||
|
gtsam::Point2Pair at(size_t n) const;
|
||||||
|
void push_back(const gtsam::Point2Pair& point_pair);
|
||||||
|
};
|
||||||
|
|
||||||
// std::vector<gtsam::Point2>
|
// std::vector<gtsam::Point2>
|
||||||
class Point2Vector {
|
class Point2Vector {
|
||||||
|
@ -428,6 +436,8 @@ class Pose2 {
|
||||||
|
|
||||||
// enable pickling in python
|
// enable pickling in python
|
||||||
void pickle() const;
|
void pickle() const;
|
||||||
|
|
||||||
|
gtsam::Pose2 align(const gtsam::Point2Pairs& pairs);
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <gtsam/geometry/Pose3.h>
|
#include <gtsam/geometry/Pose3.h>
|
||||||
|
|
Loading…
Reference in New Issue