Autonomous Robotic Arm with an Intelligent Gripper