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
5
+
request, a predefined URScript code is sent to the caller. The script code itself has to be passed
6
+
to the ``ScriptSender``'s constructor.
7
+
8
+
Use this class in conjunction with the `External Control URCap
9
+
<https://github.com/UniversalRobots/Universal_Robots_ExternalControl_URCap>`_ which will make the
10
+
corresponding request when starting a program on the robot that contains the **External Control**
11
+
program node. In order to work properly, make sure that the IP address and script sender port are
12
+
configured correctly on the robot.
13
+
14
+
The following example creates a ``ScriptSender`` listening on port ``12345`` and sends the script
15
+
``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