nameofuser1 / py-scurve

Planning s-curve trajectories with python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Argument order incorrect

synaptic opened this issue · comments

The argument order for the kinematics maxes in most of your functions is 'v_max, a_max, j_max'. However, on line 426 of scurve.py this order is not specified correctly.

traj_params = self.__plan_trajectory_1D(_q0, _q1, _v0, _v1,
a_max, v_max, j_max)

I believe this ordering problem can lead to incorrect results.