Grasp Planning in Python. Write a function to check force closure for a two-finger grasp in Python using a soft fingercontact model with static friction µ > 0 and torsional friction γ > 0.Your function should take as input:
A 3 row, 2 column numpy array, where each column is a 3D contact point.
A 3 row, 2 column numpy array, where each column is a 3D surface normal.
The number of facets to use to approximate the friction cone (int).
The friction coefficient µ (float).
The coefficient of torsional friction γ (float).Your function must return 1 if the grasp is in force closure and 0 otherwise.
Your function should be named force_closure.Any other function names will lead to a point deduction.
145707839903/03/201611:59pm
Additional Comments:
Rubric
Can't change a rubric once you've started using it.