Skip to content

Commit

Permalink
Fix SE(2) inverse (#925)
Browse files Browse the repository at this point in the history
* Fix SE(2) inverse

* Add missing ]
  • Loading branch information
JeffLIrion authored Oct 25, 2023
1 parent bde8bda commit 3a8d93b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SLAM/GraphBasedSLAM/graphslam/pose/se2.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ def inverse(self):
"""
return PoseSE2([-self[0] * np.cos(self[2]) - self[1] * np.sin(self[2]),
self[0] * np.sin(self[2]) - self[1] * np.cos(
[self[2]])], -self[2])
self[0] * np.sin(self[2]) - self[1] * np.cos(self[2])],
-self[2])

# ======================================================================= #
# #
Expand Down

0 comments on commit 3a8d93b

Please sign in to comment.