This solves #144 and #163, i.e. hpp::fcl::computeContactPatch(s1, tf1, s2, tf2, collision_result, patch_request, patch_result) now computes the intersection polygon between the collision pair (s1, tf1) and (s2, tf2), after hpp::fcl::collide(s1, tf1, s2, tf2, collision_request, collision_result) has been called on the collision pair.
The C++ code has been exposed to python.
Example using the python bindings:
This solves #144 and #163, i.e.
hpp::fcl::computeContactPatch(s1, tf1, s2, tf2, collision_result, patch_request, patch_result)
now computes the intersection polygon between the collision pair (s1, tf1) and (s2, tf2), afterhpp::fcl::collide(s1, tf1, s2, tf2, collision_request, collision_result)
has been called on the collision pair.The C++ code has been exposed to python. Example using the python bindings:
This script gives the following result (in purple, the points of the contact patch, in blue the contact patch normal):
Todos:
ContactPatch
,ContactPatchRequest
andContactPatchResult