Skip to content

Commit 3a8d93b

Browse files
authored
Fix SE(2) inverse (AtsushiSakai#925)
* Fix SE(2) inverse * Add missing ]
1 parent bde8bda commit 3a8d93b

File tree

1 file changed

+2
-2
lines changed
  • SLAM/GraphBasedSLAM/graphslam/pose

1 file changed

+2
-2
lines changed

SLAM/GraphBasedSLAM/graphslam/pose/se2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ def inverse(self):
136136
137137
"""
138138
return PoseSE2([-self[0] * np.cos(self[2]) - self[1] * np.sin(self[2]),
139-
self[0] * np.sin(self[2]) - self[1] * np.cos(
140-
[self[2]])], -self[2])
139+
self[0] * np.sin(self[2]) - self[1] * np.cos(self[2])],
140+
-self[2])
141141

142142
# ======================================================================= #
143143
# #

0 commit comments

Comments
 (0)