-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add testing of Python bindings #193
Comments
Yes, I can do it. But I can't give delays yet. Let's assign this to me, but if anyone want to do it faster, please tell it and go ahead :) |
Thanks for quick answer. |
It would be nice if this testing code could serve as examples on how to use the python bindings. |
@manuel-koch Could you help us in this task by adding some examples taken from your ongoing work? |
I'm currently searching for ways to use stuff like the following pseudo code together with import hppfcl as fcl
fcl.Box()
fcl.Sphere()
fcl.Cylinder()
fcl.Transform3f()
fcl.BVHModelOBB()
fcl.BVHModelOBBRSS()
# for non-convex meshes
bvh = fcl.BVHModelOBB()
bvh.beginModel(....)
bvh.addSubModel(...)
bvh.endModel()
# for convex meshes
fcl.Convex(....)
manager = fcl.DynamicAABBTreeCollisionManager()
manager = fcl.BroadPhaseCollisionManager()
collision_object = fcl.CollisionObject(geometry, transform)
manager.registerObject(collision_object)
callback = fcl.CollisionCallBackDefault()
result = manager.collide(callback) In the end I want to achieve something similar to how
see https://github.com/mikedh/trimesh/blob/main/trimesh/collision.py |
To enforce coverage of this package, it would be nice to also test the Python bindings. Unfortunately I don’t have time to do it. @nim65s Would you be available to do this task?
The text was updated successfully, but these errors were encountered: