8000 fix jtraj bug with initial conditions, issue #180 · Global19/robotics-toolbox-python@9f02739 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f02739

Browse files
committed
fix jtraj bug with initial conditions, issue petercorke#180
1 parent 1eb3883 commit 9f02739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/tools/trajectory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ def jtraj(q0, qf, tv, qd0=None, qd1=None):
416416
if qd1 is None:
417417
qd1 = np.zeros(q0.shape)
418418
else:
419-
qd0 = getvector(qd0)
419+
qd1 = getvector(qd1)
420420
if not len(qd1) == len(q0):
421421
raise ValueError('qd1 has wrong size')
422422

0 commit comments

Comments
 (0)
0