Fix SE(2) inverse (#925)

* Fix SE(2) inverse

* Add missing ]
This commit is contained in:
Jeff Irion
2023-10-25 07:02:14 -07:00
committed by GitHub
parent bde8bda753
commit 3a8d93b2a5

View File

@@ -136,8 +136,8 @@ class PoseSE2(np.ndarray):
"""
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])
# ======================================================================= #
# #