|
1 | | -.. _robot_setup: |
2 | | - |
3 | 1 | Setting up a UR robot for ur_robot_driver |
4 | 2 | ========================================= |
5 | 3 |
|
6 | | -Network setup |
7 | | -------------- |
8 | | - |
9 | | -There are many possible ways to connect a UR robot. This section describes a good example using static IP addresses and a direct connection from the PC to the Robot to minimize latency introduced by network hardware. Though a good network switch usually works fine, as well. |
10 | | - |
11 | | - |
12 | | -#. |
13 | | - Connect the UR control box directly to the remote PC with an ethernet cable. |
14 | | - |
15 | | -#. |
16 | | - Open the network settings from the UR teach pendant (Setup Robot -> Network) and enter these settings: |
17 | | - |
18 | | -.. code-block:: |
19 | | -
|
20 | | - IP address: 192.168.1.102 |
21 | | - Subnet mask: 255.255.255.0 |
22 | | - Default gateway: 192.168.1.1 |
23 | | - Preferred DNS server: 192.168.1.1 |
24 | | - Alternative DNS server: 0.0.0.0 |
25 | | -
|
26 | | -* Enable remote control (Not applicable on PolyScope X versions) |
27 | | - #. Go to the hamburger menu -> settings. |
28 | | - #. Go to System -> Remote control. |
29 | | - #. Unlock the menu using the admin password, and enable Remote Control. |
30 | | - #. Press exit. |
31 | | - #. The robot can now be toggled between local and remote control in the upper right hand corner. |
32 | | - |
33 | | -.. image:: initial_setup_images/remote_control.png |
34 | | - :width: 600 |
35 | | - :alt: Screenshot showing remote control toggle. |
36 | | - |
37 | | -* **If using PolyScope 5.10 or greater:** |
38 | | - #. Go to the hamburger menu -> settings. |
39 | | - #. Go to Security -> Services. |
40 | | - #. Unlock the menu using the admin password. |
41 | | - #. Enable the Dashboard Server (Not applicable on PolyScope X versions), Primary Client Interface, Secondary Client Interface and Real-Time Data Exchange (RTDE) interfaces. |
42 | | - #. Lock the menu and press exit. |
43 | | - |
44 | | -* PolyScope 5 screen: |
45 | | - |
46 | | -.. image:: initial_setup_images/services_polyscope5.png |
47 | | - :width: 600 |
48 | | - :alt: Screenshot from PolyScope 5.xx services menu. |
49 | | - |
50 | | -* PolyScope X screen: |
51 | | - |
52 | | -.. image:: initial_setup_images/services_polyscopex.jpg |
53 | | - :width: 600 |
54 | | - :alt: Screenshot from PolyScope X screen. |
55 | | - |
56 | | -Remote PC Setup |
57 | | -~~~~~~~~~~~~~~~ |
58 | | -#. |
59 | | - On the remote PC, turn off all network devices except the "wired connection", e.g. turn off wifi. |
60 | | - |
61 | | -#. |
62 | | - Open Network Settings and create a new Wired connection with these settings. You may want to name this new connection ``UR`` or something similar: |
63 | | - |
64 | | -.. code-block:: |
65 | | -
|
66 | | - IPv4 |
67 | | - Manual |
68 | | - Address: 192.168.1.101 |
69 | | - Netmask: 255.255.255.0 |
70 | | - Gateway: 192.168.1.1 |
71 | | -
|
72 | | -
|
73 | | -#. Verify the connection from the PC with e.g. ping. |
74 | | - |
75 | | -.. code-block:: |
76 | | -
|
77 | | - ping 192.168.1.102 |
78 | | -
|
79 | | -Prepare the robot |
80 | | ------------------ |
81 | | - |
82 | | -This section describes installation and launching of the URCap program from the pendant. It allows ROS to control the robot externally. Generally, you will launch the driver via ROS then start URCap from the pendant. |
83 | | - |
84 | | -For using the *ur_robot_driver* with a real robot you need to install the |
85 | | -**externalcontrol urcap**. The latest release can be downloaded from `its own repository <https://github.com/UniversalRobots/Universal_Robots_ExternalControl_URCap/releases>`_. |
86 | | - |
87 | | -**Note**: For installing this URCap a minimal PolyScope version of 3.14.3 or 5.9.4 (in case of e-Series) is |
88 | | -necessary. |
89 | | - |
90 | | -For installing the necessary URCap and creating a program, please see the individual tutorials on |
91 | | -how to :ref:`setup a cb3 robot <install-urcap-cb3>` or how to |
92 | | -:ref:`setup an e-Series robot <install-urcap-e-series>`. |
| 4 | +Prepare robot and network connection |
| 5 | +------------------------------------ |
93 | 6 |
|
94 | | -To setup the tool communication on an e-Series robot, please consider the :ref:`tool communication setup |
95 | | -guide <setup-tool-communication>`. |
| 7 | +Before you can use the ``ur_robot_driver`` you need to prepare the robot and the network |
| 8 | +connection as described in the :ref:`robot_setup` and :ref:`network_setup` section of the UR Client Library documentation. |
96 | 9 |
|
97 | 10 | Prepare the ROS PC |
98 | 11 | ------------------ |
|
0 commit comments