This project is based on ROS Kinetic under Ubuntu 16.04 LTS. Make sure you have a working Kinetic environment. Please refer http://wiki.ros.org/kinetic
Clone the projects into a carkin src folder.
catkin build
source devel/setup.bash
roslaunch ur5_notebook initialize.launch
This will wait for commands for robot arm to run. Next send command line from a new terminal. The robot will start pick and place from the box in order (0 to 3)
python ur5_arm.py