Skip to content

Commit e571c4d

Browse files
committed
increase PolyScopeX required version to 10.11
direct_torque is only available from 10.11 on.
1 parent ed66a7a commit e571c4d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

resources/external_control.urscript

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ thread torqueThread():
273273
{% if ROBOT_SOFTWARE_VERSION >= v5.22.0 %} # ToDo: Increase to 5.23.0 once released
274274
{% if ROBOT_SOFTWARE_VERSION < v6.0.0 %}
275275
direct_torque(torque, friction_comp=friction_compensation_enabled)
276-
{% elif ROBOT_SOFTWARE_VERSION >= v10.10.0 %}
276+
{% elif ROBOT_SOFTWARE_VERSION >= v10.11.0 %}
277277
direct_torque(torque, friction_comp=friction_compensation_enabled)
278278
{% else %}
279-
popup("Torque control is only supported from software 10.10.0 and upwards.", error=True, blocking=True)
279+
popup("Torque control is only supported from software 10.11.0 and upwards.", error=True, blocking=True)
280280
{% endif %}
281281
{% else %}
282282
popup("Torque control is only supported from software 5.23.0 and upwards.", error=True, blocking=True)
@@ -693,12 +693,12 @@ thread PDControlThread():
693693
local tau = pd_controller_gains.kp * q_err - pd_controller_gains.kd * get_actual_joint_speeds()
694694
tau = clamp_array(tau, max_joint_torques)
695695
direct_torque(tau, friction_comp=friction_compensation_enabled)
696-
{% elif ROBOT_SOFTWARE_VERSION >= v10.10.0 %}
696+
{% elif ROBOT_SOFTWARE_VERSION >= v10.11.0 %}
697697
local tau = pd_controller_gains.kp * q_err - pd_controller_gains.kd * get_actual_joint_speeds()
698698
tau = clamp_array(tau, max_joint_torques)
699699
direct_torque(tau, friction_comp=friction_compensation_enabled)
700700
{% else %}
701-
popup("Torque control is only supported from software 10.10.0 and upwards.", error=True, blocking=True)
701+
popup("Torque control is only supported from software 10.11.0 and upwards.", error=True, blocking=True)
702702
{% endif %}
703703
{% else %}
704704
popup("Torque control is only supported from software 5.23.0 and upwards.", error=True, blocking=True)

0 commit comments

Comments
 (0)