You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While experimenting with the collision detection functions of Pinocchio provided with hpp-fcl package, I experienced inconsistency in the contact pairs returned by the function. For instance, my collision_model.collisionPairs[0].first might point to a link named "arm_left_link_4_u_0", which is represented as a mesh file (or BVHModelOBBRSS in hpp-fcl); and collision_model.collisionPairs[0].second might point to "octree" representing the environment point cloud. However, after I run computeCollisions, and extract the contact by contact=collision_data.collisionResults[0].getContact(0), I have contact.o1 being a OcTree object of hppfcl, and contact.o2 being a BVHModelOBBRSS object of hppfcl. This is inconsistent with the ones stored in the collision_model.collisionPairs[0], since the expected result should be contact.o1 being BVHModelOBBRSS, and contact.o2 being OcTree. Is there any way to fix this problem?
The system I use us Ubuntu 20.04. I'm using the latest devel branch of Pinocchio (commit abcdc64). hpp-fcl is the latest version (2.4.4).
To reproduce, install the motoman package from motoman, use the following code and save as file motoman_config.py:
Bug description
Hello,
While experimenting with the collision detection functions of Pinocchio provided with hpp-fcl package, I experienced inconsistency in the contact pairs returned by the function. For instance, my
collision_model.collisionPairs[0].first
might point to a link named "arm_left_link_4_u_0", which is represented as a mesh file (or BVHModelOBBRSS in hpp-fcl); andcollision_model.collisionPairs[0].second
might point to "octree" representing the environment point cloud. However, after I run computeCollisions, and extract the contact bycontact=collision_data.collisionResults[0].getContact(0)
, I havecontact.o1
being a OcTree object of hppfcl, andcontact.o2
being a BVHModelOBBRSS object of hppfcl. This is inconsistent with the ones stored in thecollision_model.collisionPairs[0]
, since the expected result should becontact.o1
being BVHModelOBBRSS, andcontact.o2
being OcTree. Is there any way to fix this problem?The system I use us Ubuntu 20.04. I'm using the latest devel branch of Pinocchio (commit abcdc64). hpp-fcl is the latest version (2.4.4).
To reproduce, install the motoman package from motoman, use the following code and save as file motoman_config.py:
and the following code for testing:
System
The text was updated successfully, but these errors were encountered: