Skip to content

Commit 1b05196

Browse files
committed
pass thru the flip option
1 parent 88379a6 commit 1b05196

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎spatialmath/pose3d.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ def eul(self, unit='rad', flip=False):
202202
:SymPy: not supported
203203
"""
204204
if len(self) == 1:
205-
return base.tr2eul(self.A, unit=unit)
205+
return base.tr2eul(self.A, unit=unit, flip=flip)
206206
else:
207-
return np.array([base.tr2eul(x, unit=unit) for x in self.A])
207+
return np.array([base.tr2eul(x, unit=unit, flip=flip) for x in self.A])
208208

209209
def rpy(self, unit='rad', order='zyx'):
210210
"""

0 commit comments

Comments
 (0)