Skip to content

Commit

Permalink
Specify velocities for trajectory forwarding test (#721)
Browse files Browse the repository at this point in the history
Otherwise the trajectory points will never be sent.
  • Loading branch information
fmauch authored Sep 10, 2024
1 parent a8e2b0b commit 999aa7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ur_robot_driver/test/integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ def test_joint_passthrough(self):
for i, position in enumerate(position_list):
point = JointTrajectoryPoint()
point.positions = position
point.velocities = [0, 0, 0, 0, 0, 0]
point.time_from_start = rospy.Duration(duration_list[i])
goal.trajectory.points.append(point)
for i, joint_name in enumerate(goal.trajectory.joint_names):
Expand Down

0 comments on commit 999aa7e

Please sign in to comment.