Robot setup

The robot needs to be prepared before it can be used with the client library.

CB3 robots can directly be used with the ur_client_library. No special preparation is needed.

URCap installation

To use the client library with a robot, you’ll have to have the External Control URCap installed. It allows a remote PC to control the robot externally. Generally, you will launch the driver on the remote PC and then start a program from the tech pendant to connect to the remote application.

Note

A minimal PolyScope version of 3.14.3 is required to use this URCap

The latest release can be downloaded from its own repository.

To install the URCap you first have to copy it to the robot’s programs folder which can be done either via scp or using a USB stick.

On the welcome screen select Setup Robot and then URCaps to enter the URCaps installation screen.

Welcome screen of a CB3 robot

There, click the little plus sign at the bottom to open the file selector. There you should see all urcap files stored inside the robot’s programs folder or a plugged USB drive. Select and open the externalcontrol-X.Y.Z.urcap file and click open. Your URCaps view should now show the External Control in the list of active URCaps and a notification to restart the robot. Do that now.

URCaps screen with installed urcaps

After the reboot you should find the External Control URCaps inside the Installation section. For this select Program Robot on the welcome screen, select the Installation tab and select External Control from the list.

Installation screen of URCaps

Here you’ll have to setup the IP address of the external PC which will be running the remote application. Note that the robot and the external PC have to be in the same network, ideally in a direct connection with each other to minimize network disturbances. The custom port should be left untouched for now.

Insert the external control node

To use the new URCaps, create a new program and insert the External Control program node into the program tree

Program view of external control

If you click on the command tab again, you’ll see the settings entered inside the Installation. Check that they are correct, then save the program. Your robot is now ready to be used together with this driver