add Pose2Pair typedef
parent
8e9815b270
commit
9fd745156e
|
|
@ -322,6 +322,10 @@ inline Matrix wedge<Pose2>(const Vector& xi) {
|
||||||
typedef std::pair<Point2,Point2> Point2Pair;
|
typedef std::pair<Point2,Point2> Point2Pair;
|
||||||
GTSAM_EXPORT boost::optional<Pose2> align(const std::vector<Point2Pair>& pairs);
|
GTSAM_EXPORT boost::optional<Pose2> align(const std::vector<Point2Pair>& pairs);
|
||||||
|
|
||||||
|
// Convenience typedef
|
||||||
|
using Pose2Pair = std::pair<Pose2, Pose2>;
|
||||||
|
using Pose2Pairs = std::vector<std::pair<Pose2, Pose2> >;
|
||||||
|
|
||||||
template <>
|
template <>
|
||||||
struct traits<Pose2> : public internal::LieGroup<Pose2> {};
|
struct traits<Pose2> : public internal::LieGroup<Pose2> {};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue