[nd-traj-gen] Small change to behavior of setSpline command when called with a positive trajectory time