From ec79784ba9ae9c91ae28ed591c1cce1160964748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rune=20S=C3=B8e-Knudsen?= <41109954+urrsk@users.noreply.github.com> Date: Mon, 15 Jul 2024 15:48:54 +0200 Subject: [PATCH] Add doc to custom URScript commands that it needs to be in headless mode (#1051) * Add doc to custom URScript commands that it needs to be in headless mode --- ur_robot_driver/doc/usage.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ur_robot_driver/doc/usage.rst b/ur_robot_driver/doc/usage.rst index c784936cb..7326f2dce 100644 --- a/ur_robot_driver/doc/usage.rst +++ b/ur_robot_driver/doc/usage.rst @@ -206,7 +206,9 @@ Custom URScript commands ------------------------ The driver's package contains a ``urscript_interface`` node that allows sending URScript snippets -directly to the robot. It gets started in the driver's launchfiles by default. To use it, simply +directly to the robot when the robot is in remote control mode. + +It gets started in the driver's launchfiles by default. To use it, simply publish a message to its interface: .. code-block:: bash @@ -221,6 +223,7 @@ restarted again. Depending whether you use headless mode or not, you'll have to external_control program again. .. note:: + On E-series robots or newer the robot needs to be in remote control mode in order to execute custom URScript commands. Currently, there is no feedback on the code's correctness. If the code sent to the robot is incorrect, it will silently not get executed. Make sure that you send valid URScript code!