We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0046867 commit 08c9ab7Copy full SHA for 08c9ab7
1 file changed
resources/external_control.urscript
@@ -573,18 +573,18 @@ thread trajectoryThread():
573
574
# MoveJ point
575
if raw_point[INDEX_POINT_TYPE] == MOTION_TYPE_MOVEJ:
576
- textmsg("Moving to joint position: ", q)
577
movej(q, a = acceleration, v = velocity, t = tmptime, r = blend_radius)
578
579
# reset old acceleration
580
spline_qdd = [0, 0, 0, 0, 0, 0]
581
spline_qd = [0, 0, 0, 0, 0, 0]
582
elif raw_point[INDEX_POINT_TYPE] == MOTION_TYPE_MOVEJ_POSE:
583
target_pose = p[q[0], q[1], q[2], q[3], q[4], q[5]]
584
- textmsg("Moving to pose: ", target_pose)
585
- target_q = get_inverse_kin(target_pose, get_target_joint_positions())
+ target_q = get_target_joint_positions()
586
if has_qnear:
587
target_q = get_inverse_kin(target_pose, second_block)
+ else
+ target_q = get_inverse_kin(target_pose, get_target_joint_positions())
588
end
589
movej(target_q, a = acceleration, v = velocity, t = tmptime, r = blend_radius)
590
0 commit comments