Making contact

Once the universal_robotpackage has been installed, we should be able to bring up the UR5 running the following command lines in a terminal:

roslaunch ur_bringup ur5_bringup.launch limited:=true robot_ip:= ROBOT_IP [reverse_port:=REVERSE_PORT]

The REVERSE_PORT is the port which is used for the UR5 in order to send and receive statements from the ROS network. Usually, the port which is used for this propose is the port 50001, however this port can be verify looking up in the Python driver file called driver.py under the ur_driver directory/package (line 44).

In a new terminal, run a simple test script code in Python.

$ rosrun ur_driver test_move.py

Now, you can get access to different topics and services, which are provided for the ROS core and the ros_control package, in order to command the different actuators of the robot as well as fetch information about kinematics variables of the ROBOT.


results matching ""

    No results matching ""