Skip to content

Commit 5c96176

Browse files
committed
Reset spline acceleration and velocity after performing a movec motion
1 parent a2db631 commit 5c96176

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

resources/external_control.urscript

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,10 @@ thread trajectoryThread():
526526
mode = raw_point[15]
527527
movec(via, target, acceleration, velocity, blend_radius, mode)
528528

529+
# reset old acceleration
530+
spline_qdd = [0, 0, 0, 0, 0, 0]
531+
spline_qd = [0, 0, 0, 0, 0, 0]
532+
529533
# Joint spline point
530534
elif raw_point[INDEX_POINT_TYPE] == MOTION_TYPE_SPLINE:
531535

0 commit comments

Comments
 (0)