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
The ``ScriptSender`` class opens a tcp socket listens for "*request_program*" request. Upon such a
7
+
request, a predefined URScript code is sent to the caller. The script code itself has to be passed
8
+
to the ``ScriptSender``'s constructor.
9
+
10
+
Use this class in conjunction with the `External Control URCap
11
+
<https://github.com/UniversalRobots/Universal_Robots_ExternalControl_URCap>`_ which will make the
12
+
corresponding request when starting a program on the robot that contains the **External Control**
13
+
program node. In order to work properly, make sure that the IP address and script sender port are
14
+
configured correctly on the robot.
15
+
16
+
The following example creates a ``ScriptSender`` listening on port ``12345`` and sends the script
17
+
``textmsg("Hello, World!")`` when requested. A fully compilable example can be found in `script_sender.cpp <https://github.com/UniversalRobots/Universal_Robots_Client_Library/blob/master/examples/script_sender.cpp>`_
0 commit comments