8000 Track breaking changes to SMTB · Global19/robotics-toolbox-python@1eb3883 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1eb3883

Browse files
committed
Track breaking changes to SMTB
1 parent 35bc9c2 commit 1eb3883

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

roboticstoolbox/robot/DHRobot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from spatialmath.base.argcheck import \
1313
getvector, isscalar, verifymatrix, getmatrix
1414
# from spatialmath import base
15-
from spatialmath.base.transforms3d import tr2jac, trinv
15+
from spatialmath.base.transforms3d import tr2jac
1616
from spatialmath.base.transformsNd import t2r
1717
from spatialmath import SE3, Twist3
1818
import spatialmath.base.symbolic as sym
@@ -1038,7 +1038,7 @@ def jacob0(self, q=None, T=None):
10381038
if T is None:
10391039
T = self.fkine(q)
10401040

1041-
return tr2jac(trinv(T.A)) @ self.jacobe(q)
1041+
return tr2jac(T.A) @ self.jacobe(q)
10421042

10431043
def jacob_dot(self, q=None, qd=None):
10441044
r"""

roboticstoolbox/tools/trajectory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ def ctraj(T0, T1, s):
609609
else:
610610
raise TypeError('bad argument for time, must be int or vector')
611611

612-
return T1.interp(s, start=T0)
612+
return T0.interp(T1, s)
613613

614614

615615
def cmstraj():

0 commit comments

Comments
 (0)
0