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 example of collision with a point cloud #1636
Conversation
@arjung128 This PR is related to your request. |
Hi @jcarpent, Thank you so much for such a detailed example! I have been struggling with this for quite some time now, so this is extremely helpful. For reproducibility, I downloaded the panda URDF and meshes from Gepetto/example-robot-data (here), and am on Pinocchio version '2.6.4' and hppfcl version '1.8.1'; However, I am getting the following error. Are you on a different Pinocchio / hppfcl version by any chance?
Thanks once again for your continued help! It is much appreciated. |
Replacing |
I've fixed the issue you mentioned @arjung128 |
Hi @jcarpent, Thanks for the quick fix and for such a detailed example! I really appreciate it. The example seems to be converting the point cloud into a height field and checking for collisions against the height field. Is there a reason why this was done, and why collision checking wasn't done directly with the point cloud? When I try to do collision checking directly with the point cloud (by replacing the height field with the point cloud), I am getting an error:
Any ideas what might be going on here? On a related note, while converting the point cloud to a height field for collision checking works for many cases, e.g. the box, it may not work for slightly more complicated shapes (a naive example is two boxes on top of one another, i.e. if you add Thanks again for all your support! |
Related to #1632.