/ur3

UR3 Robot with a Robotiq gripper

Primary LanguageC++

Universal Robot UR3

Custom ROS packages for the UR3 Robot with a Robotiq gripper

Installation

This will assume that you already have a catkin workspace. Go to the source directory of the workspace

$ roscd; cd ../src

Clone this and the gripper (robotiq) repositories

$ git clone https://github.com/cambel/ur3
$ git clone https://github.com/cambel/robotiq

Build using catkin_make

$ cd ..
$ catkin_make

Visualization of UR3 in RViz

To visualize the model of the robot with a gripper, launch the following:

$ roslaunch ur3_description display_with_gripper.launch

You can then use the sliders to change the joint values and the gripper values.

Simulation in Gazebo

To simulate the robot launch the following:

$ roslaunch ur3_gazebo ur3_cubes.launch

By default the simulation starts paused. Unpause the simulation. You can then send commands to the joints or to the gripper.

The following is an example of an action client to change the gripper configuration. Open a new terminal, and then execute:

$ rosrun ur3_gazebo send_gripper.py --value 0.5

where the value is a float between 0.0 (closed) and 0.8 (open).

An example of sending joints values to the robot can be executed as follows:

$ rosrun ur3_gazebo send_joints.py

To change the values of the joints, the file send_joints.py must be modified.