Skip to content

Commit

Permalink
Revert changes to Pose2 r(), t()
Browse files Browse the repository at this point in the history
  • Loading branch information
DanMcGann authored and ProfFan committed Aug 17, 2024
1 parent c3fbf91 commit ff89340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtsam/geometry/Pose2.h
Original file line number Diff line number Diff line change
Expand Up @@ -249,10 +249,10 @@ class Pose2: public LieGroup<Pose2, 3> {
inline double theta() const { return r_.theta(); }

/// translation
inline const Point2& t() const { return translation(); }
inline const Point2& t() const { return t_; }

/// rotation
inline const Rot2& r() const { return rotation(); }
inline const Rot2& r() const { return r_; }

/// translation
inline const Point2& translation(OptionalJacobian<2, 3> Hself={}) const {
Expand Down

0 comments on commit ff89340

Please sign in to comment.