Skip to content

Commit

Permalink
Merge pull request #26 from gomezc/issue#24
Browse files Browse the repository at this point in the history
Issue#24 - made change to driver.py s.t. test_move.py is now functional.  Thanks for the contribution!
  • Loading branch information
shaun-edwards committed Nov 12, 2013
2 parents da197d1 + 300e395 commit 6e58204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ur_driver/src/ur_driver/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def interp_cubic(p0, p1, t_abs):
q[i] = a + b*t + c*t**2 + d*t**3
qdot[i] = b + 2*c*t + 3*d*t**2
qddot[i] = 2*c + 6*d*t
return JointTrajectoryPoint(q, qdot, qddot, rospy.Duration(t_abs))
return JointTrajectoryPoint(positions=q, velocities=qdot, accelerations=qddot, time_from_start=rospy.Duration(t_abs))

# Returns (q, qdot, qddot) for sampling the JointTrajectory at time t.
# The time t is the time since the trajectory was started.
Expand Down

0 comments on commit 6e58204

Please sign in to comment.