Skip to content

Commit

Permalink
Merge pull request #646 from cttdev/bearing-factor-3d
Browse files Browse the repository at this point in the history
Adding BearingFactor3D to the wrapper definition.
  • Loading branch information
dellaert authored Dec 30, 2020
2 parents 11b155a + e75505a commit 2597a7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions gtsam/gtsam.i
Original file line number Diff line number Diff line change
Expand Up @@ -2599,6 +2599,7 @@ virtual class BearingFactor : gtsam::NoiseModelFactor {
};

typedef gtsam::BearingFactor<gtsam::Pose2, gtsam::Point2, gtsam::Rot2> BearingFactor2D;
typedef gtsam::BearingFactor<gtsam::Pose3, gtsam::Point3, gtsam::Unit3> BearingFactor3D;
typedef gtsam::BearingFactor<gtsam::Pose2, gtsam::Pose2, gtsam::Rot2> BearingFactorPose2;

#include <gtsam/geometry/BearingRange.h>
Expand Down
1 change: 1 addition & 0 deletions matlab/+gtsam/Contents.m
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
%
%% SLAM and SFM
% BearingFactor2D - class BearingFactor2D, see Doxygen page for details
% BearingFactor3D - class BearingFactor3D, see Doxygen page for details
% BearingRangeFactor2D - class BearingRangeFactor2D, see Doxygen page for details
% BetweenFactorLieMatrix - class BetweenFactorLieMatrix, see Doxygen page for details
% BetweenFactorLieScalar - class BetweenFactorLieScalar, see Doxygen page for details
Expand Down

0 comments on commit 2597a7c

Please sign in to comment.