You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,19 @@
2
2
Changelog for package ur_client_library
3
3
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4
4
5
+
2.13.0 (2026-06-17)
6
+
-------------------
7
+
* [ScriptCommandInterface] Add set_target_payload support to ScriptCommandInterface (`#515 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/515>`_)
8
+
* [Primary] sendScriptBlocking: Restart interface and resend script on readOnlyInterfaceException (`#522 <https://github.com/UniversalRobots/Universal_Robots_Client_Library/issues/522>`_)
|The ``sendScriptBlocking`` method will also accept valid URScript code, but blocks until the execution result of the given program is available.
36
-
|Prior to transferring the program it will first check that the robot is in a state where it can execute programs, if not it returns false.
37
+
|Prior to transferring the program it will first check that the robot is in a state where it can execute programs, otherwise an exception is thrown.
37
38
|If the robot is ready, the program is then transferred, and the method will wait for the robot to report that the program has either started, finished or encountered an error.
38
-
|If the program has not started within the given ``timeout``, the method returns false.
39
-
|If the robot encounters an error or runtime exception during program execution the method also returns false.
40
-
|If ``fail_on_warnings`` is true, it will also return false, if the robot reports a warning during program execution. Note: protective stops are reported as warnings by the robot.
41
-
|The method only returns true if the program is successfully executed on the robot.
39
+
|If the program has not started within the given ``start_timeout``, the method throws an exception.
40
+
|If the robot encounters an error or runtime exception during program execution the method also throws an exception.
41
+
|If ``fail_on_warnings`` is true, it will also throw an exception, if the robot reports a warning during program execution. Note: protective stops are reported as warnings by the robot.
42
+
|If ``retry_on_readonly_interface`` is true, the method will restart the primary interface and retry sending the program, if the primary interface is read-only. It will retry once, and if the interface is still read-only, an exception will be thrown. If false, the exception will be thrown, without restarting/retrying.
43
+
|If no exceptions are thrown, the script has been executed successfully.
42
44
|This method also accepts secondary programs, but no feedback is available for those, so it will behave similarly to the ``sendScript`` method in those cases, except for the pre-transfer checks.
45
+
|The exact exceptions that are thrown in various cases can be seen in the `primary client header file <https://github.com/UniversalRobots/Universal_Robots_Client_Library/blob/master/include/ur_client_library/primary/primary_client.h>`_.
46
+
|Note: This method clears all stored error codes in the client during execution.
Copy file name to clipboardExpand all lines: doc/architecture/script_command_interface.rst
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@ At the time of writing the ``ScriptCommandInterface`` provides the following fun
25
25
- ``setGravity()``: Set the gravity vector for the robot.
26
26
- ``setTcpOffset()``: Set the TCP offset of the robot.
27
27
- ``setFrictionScales()``: Set viscous and Coulomb friction scale factors for direct torque control.
28
+
- ``setTargetPayload()``: Set the active payload mass, center of gravity, inertia matrix and transition time.
28
29
29
30
Communication protocol
30
31
----------------------
@@ -58,6 +59,7 @@ The robot reads from the "script_command_socket" expecting a 32 bit integer repr
58
59
- 9: setGravity
59
60
- 10: setTcpOffset
60
61
- 11: setFrictionScales
62
+
- 12: setTargetPayload
61
63
1-27 data fields specific to the command
62
64
===== =====
63
65
@@ -77,7 +79,7 @@ The robot reads from the "script_command_socket" expecting a 32 bit integer repr
77
79
index meaning
78
80
===== =====
79
81
1 Payload mass in kg (floating point)
80
-
2-4 Payload center of gravity in m, displacement from the toolmpount (floating point)
82
+
2-4 Payload center of gravity in m, displacement from the tool mount (floating point)
81
83
===== =====
82
84
83
85
.. table:: With setToolVoltage command
@@ -180,6 +182,18 @@ The robot reads from the "script_command_socket" expecting a 32 bit integer repr
180
182
7-12 Coulomb friction scale factors. One number per joint, range [0-1]. 0 means no compensation for that joint. 1 means full compensation. Default is [0.8, 0.8, 0.7, 0.8, 0.8, 0.8]. (floating point)
181
183
===== =====
182
184
185
+
.. table:: With setTargetPayload command
186
+
:widths: auto
187
+
188
+
===== =====
189
+
index meaning
190
+
===== =====
191
+
1 Payload mass in kg (floating point)
192
+
2-4 Payload center of gravity in m, displacement from the tool mount (floating point)
Copy file name to clipboardExpand all lines: doc/polyscope_compatibility.rst
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,9 +46,6 @@ table below or checkout the latest tag before the breaking changes were introduc
46
46
replacing the Dashboard Server in version 10.11.0. It covers robot state control and loading
47
47
and playing programs.
48
48
From version 10.12, it also supports uploading programs to the robot and downloading programs from the robot, as well as listing existing programs on the robot.
49
-
- Using external control on |polyscope| X requires another URCapX for making external control
50
-
work. This is currently in the process of being created.
51
-
See `Universal Robots External Control URCapX <https://github.com/UniversalRobots/Universal_Robots_ExternalControl_URCapX>`_
0 commit comments