Text this: Auto-grasping algorithm of robot gripper based on pressure sensor measurement