============== Setup UR Robot ============== Requirements ============ UR e-series (recommended) or CB3 Install UR driver and setup =========================== - Optional/Recommended: Follow the `Realtime Kernel setup guide `_ - `Install the ur driver `_ Setup the network connection ---------------------------- #. Open the network settings from the UR teach pendant (Setup Robot -> Network) and enter these settings (possibly adapt the ip space `192.168.1.xx` to your needs): .. code-block:: IP address: 192.168.1.102 Subnet mask: 255.255.255.0 Default gateway: 192.168.1.1 Preferred DNS server: 192.168.1.1 Alternative DNS server: 0.0.0.0 #. On the remote PC, turn off all network devices except the "wired connection", e.g. turn off wifi. #. Open Network Settings and create a new Wired connection with these settings. You may want to name this new connection ``UR`` or something similar: .. code-block:: IPv4 Manual Address: 192.168.1.101 Netmask: 255.255.255.0 Gateway: 192.168.1.1 #. Verify the connection from the PC with e.g. ping. ``192.168.1.102`` is the robot ip in this case. .. code-block:: console ping 192.168.1.102 Set up the robot ---------------- Follow the instructions of the ur robot driver: `Setup the robot `_ (Use the ip you set above) Note: You can download the calibration correction and use it in your package like this: .. code-block:: console roslaunch ur_calibration calibration_correction.launch robot_ip:=192.168.1.102 target_filename:="${HOME}/catkin_ws/src//config/ur10e_kinematics.yaml" ROS launch file =============== We recommend putting the robot into a namespace, e.g. ``/robot``. The following launchfile loads the driver for a UR10e robot. Use the ip you set on the robot .. code-block:: xml pitasc environment ================== To let pitasc take joint states and urdf description from the robot namespace, it needs to be configured. Set the urdf prefix if you have one (``tf_prefix`` in the ur launch file) .. code-block:: xml (...) 500 2.0 3.0 robot (...)