Skip to content

Commit 9de561e

Browse files
committed
Fix joint_trajectory_client: Add missing point.velocities in add_point()
1 parent 556de67 commit 9de561e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

intera_examples/scripts/joint_trajectory_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ def __init__(self, limb, joint_names):
6262
def add_point(self, positions, time):
6363
point = JointTrajectoryPoint()
6464
point.positions = copy(positions)
65+
point.velocities = [0.1] * len(positions)
6566
point.time_from_start = rospy.Duration(time)
6667
self._goal.trajectory.points.append(point)
6768

0 commit comments

Comments
 (0)