We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 482b883 + fada42c commit 391afdcCopy full SHA for 391afdc
roboticstoolbox/tools/trajectory.py
@@ -742,16 +742,19 @@ def mstraj(
742
if isinstance(Tacc, (int, float)):
743
Tacc = np.tile(Tacc, (ns,))
744
else:
745
+ Tacc = getvector(Tacc)
746
if not len(Tacc) == ns:
747
raise ValueError('Tacc is wrong size')
748
if qd0 is None:
749
qd0 = np.zeros((nj,))
750
751
+ qd0 = getvector(qd0)
752
if not len(qd0) == len(q0):
753
raise ValueError('qd0 is wrong size')
754
if qdf is None:
755
qdf = np.zeros((nj,))
756
757
+ qdf = getvector(qdf)
758
if not len(qdf) == len(q0):
759
raise ValueError('qdf is wrong size')
760
0 commit comments