Postioning and recognizing planar parts using a two fingered gripper with four pins