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

Collision check Octree against Octree #603

Open
dBierni opened this issue Jun 28, 2024 · 0 comments
Open

Collision check Octree against Octree #603

dBierni opened this issue Jun 28, 2024 · 0 comments

Comments

@dBierni
Copy link

dBierni commented Jun 28, 2024

Executing this part of the code:

hpp::fcl::CollisionRequest request(hpp::fcl::DISTANCE_LOWER_BOUND, 1);
hpp::fcl::CollisionResult result;
request.enable_distance_lower_bound = true;
request.security_margin = 10;
hpp::fcl::collide(obj1.get(), t1, obj2.get(), t2, request, result);

Where both obj1 and obj2 are Octree;
Printing the result.distance_lower_boud always gives the infinity value - either for collision or non-collision situations.

Am I doing something wrong? or is it not supported to do collision checks between two-point clouds? - if so, is it possible to get guidance to implement that part?

setting request.enable_contact to true, allows to get the result. But, the distance between objects needs to be bigger than octomapResolution(the same used for both ) + security_margin

It is with the latest Release version v2.4.4

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