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
I want to use this library to calculate all the triangle pairs that come into contact when two convex bodies come into contact. But now I can only get the boundary of the intersecting convex bodies.
How should I solve this problem? I'll make sure I set more pieces to detect than triangles
The text was updated successfully, but these errors were encountered:
damengziuu
changed the title
How can i calculate all the contact triangles in hpp::fcl::BVHModel<hpp::fcl::OBBRSS>?
How can i calculate all the contact triangles pairs in hpp::fcl::BVHModel<hpp::fcl::OBBRSS>?
Aug 10, 2024
I want to use this library to calculate all the triangle pairs that come into contact when two convex bodies come into contact. But now I can only get the boundary of the intersecting convex bodies.
How should I solve this problem? I'll make sure I set more pieces to detect than triangles
Here is my code:
// Initial position
Transform3f tf1; // identity
Transform3f tf2; // identity
Eigen::MatrixXd tR1(3, 3),tR2(3, 3);
Eigen::MatrixXd tT1(3, 1),tT2(3, 1);
tR1 << 1.0000000000000000, 0, 0,
0, 1, 0,
0, 0, 1;
tT1 << 0.25900000099999998,
0.091704199000000000,
0.14302674900000001;
tf1.setRotation(tR1);
tf1.setTranslation(tT1);
my result:
The text was updated successfully, but these errors were encountered: