Skip to content

Commit a6ccabf

Browse files
committed
Add operator/between
1 parent 7f80826 commit a6ccabf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

gtsam/geometry/Gal3.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ namespace gtsam {
4141
namespace { // Anonymous namespace for internal linkage
4242
constexpr double kSmallAngleThreshold = 1e-10;
4343

44-
// The type of the Lie algebra (matrix representation)
45-
using LieAlgebra = Matrix5;
46-
4744
// Helper functions for accessing tangent vector components
4845
Eigen::Block<Vector10, 3, 1> rho(Vector10& v) { return v.block<3, 1>(0, 0); }
4946
Eigen::Block<Vector10, 3, 1> nu(Vector10& v) { return v.block<3, 1>(3, 0); }

gtsam/geometry/geometry.i

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,6 +1359,10 @@ class Gal3 {
13591359
static gtsam::Gal3 Identity();
13601360
gtsam::Gal3 inverse() const;
13611361
gtsam::Gal3 compose(const gtsam::Gal3& other) const;
1362+
gtsam::Gal3 between(const gtsam::Gal3& other) const;
1363+
1364+
// Operator Overloads
1365+
gtsam::Gal3 operator*(const gtsam::Gal3& other) const;
13621366

13631367
// Lie Group
13641368
static gtsam::Gal3 Expmap(const gtsam::Vector10& xi);

0 commit comments

Comments
 (0)