Skip to content
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

Python bindings issue #141

Closed
jmirabel opened this issue Mar 17, 2020 · 1 comment
Closed

Python bindings issue #141

jmirabel opened this issue Mar 17, 2020 · 1 comment

Comments

@jmirabel
Copy link
Contributor

The unit test added by commit 394ecbb does not pass. The error is:

Traceback (most recent call last):
  File "hpp-fcl/test/python_unit/api.py", line 17, in test_collision
    self.assertTrue(not hppfcl.collide(capsule, M1, capsule, M2, req, res))
Boost.Python.ArgumentError: Python argument types in
    hppfcl.hppfcl.collide(Capsule, Transform3f, Capsule, Transform3f, CollisionRequest, CollisionResult)
did not match C++ signature:
    collide(hpp::fcl::CollisionGeometry const*, hpp::fcl::Transform3f, hpp::fcl::CollisionGeometry const*, hpp::fcl::Transform3f, hpp::fcl::CollisionRequest, hpp::fcl::CollisionResult {lvalue})
    collide(hpp::fcl::CollisionObject const*, hpp::fcl::CollisionObject const*, hpp::fcl::CollisionRequest, hpp::fcl::CollisionResult {lvalue})

I do not understand the issue. Function distance has almost the same prototype and has no issue...

@jmirabel
Copy link
Contributor Author

I understood the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant