Skip to content

Commit 43cef40

Browse files
committed
Fix merge mistake
1 parent ab49631 commit 43cef40

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spatialmath/twist.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ def Rx(cls, theta, unit='rad'):
554554
:seealso: :func:`~spatialmath.base.transforms3d.trotx`
555555
:SymPy: supported
556556
"""
557-
return cls([np.r_[0,0,0,x,0,0] for x in base.getvector(base.getunit(theta, unit=unit)_])
557+
return cls([np.r_[0,0,0,x,0,0] for x in base.getunit(theta, unit=unit)])
558558

559559
@classmethod
560560
def Ry(cls, theta, unit='rad', t=None):
@@ -585,7 +585,7 @@ def Ry(cls, theta, unit='rad', t=None):
585585
:seealso: :func:`~spatialmath.base.transforms3d.troty`
586586
:SymPy: supported
587587
"""
588-
return cls([np.r_[0,0,0,0,x,0] for x in base.getvector(base.getunit(theta, unit=unit))])
588+
return cls([np.r_[0,0,0,0,x,0] for x in base.getunit(theta, unit=unit)])
589589

590590
@classmethod
591591
def Rz(cls, theta, unit='rad', t=None):
@@ -616,7 +616,7 @@ def Rz(cls, theta, unit='rad', t=None):
616616
:seealso: :func:`~spatialmath.base.transforms3d.trotz`
617617
:SymPy: supported
618618
"""
619-
return cls([np.r_[0,0,0,0,0,x] for x in base.getvector(base.getunit(theta, unit=unit))])
619+
return cls([np.r_[0,0,0,0,0,x] for x in base.getunit(theta, unit=unit)])
620620

621621
@classmethod
622622
def Tx(cls, x):

0 commit comments

Comments
 (0)