SORT - A learning grasping robot for performing complex task