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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy