Controlling grip force by maintaining a constant frictional safety margin to improve robotic grasping