Skip to content

Commit 852e2fb

Browse files
authored
increase PolyScopeX required version to 10.11
direct_torque is only available from 10.11 on.
1 parent ed66a7a commit 852e2fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/external_control.urscript

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ 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 %}
279279
popup("Torque control is only supported from software 10.10.0 and upwards.", error=True, blocking=True)
@@ -693,7 +693,7 @@ 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)

0 commit comments

Comments
 (0)