-
Notifications
You must be signed in to change notification settings - Fork 285
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
Unknown collision detector[bullet] #1079
Comments
It seems Bullet is not correctly detected by CMake. Could you rerun CMake with |
Thanks for the prompt reply. Here is the output for
Output:
|
Hm, that's weird. It seems Bullet is correctly found, but somehow the collision detector factory doesn't work for Bullet. Let me test it on my Mac when I get home. The warning message says DART falls back to using FCL, which is the default collision detector of DART, instead of the specified Bullet. This shouldn't be a problem except it generally generates more contact points. |
This should be fixed by #1080. Thanks for the report! |
Environment: Hi, I am installing dart 6.6.1 from source with cmake 3.12.2 on an Ubuntu 16.04, but encounter the same problem:
But it seems the "collision-bullet" has already been stated as a dependency in the CMakeLists.txt. Is there any suggestions on how to resolve it? |
The log for running
Output:
|
Which executable are you running? Btw, you should add
Note there are two |
Thanks for pointing it out. The output for running:
Output:
|
Thanks! It seems bullet is detected and built with DART. But I'm still wondering which executable (example) are you running. Whichever it is, please make sure |
It is tutorialBiped-Finished. It seems the "collision-bullet" has already been stated as a dependency in the CMakeLists.txt. I also tried to change |
I see. It seems the current Factory implementation doesn't work as expected. This needs to be fixed. Could you use the following code to change the collision detector in the meantime? world->getConstraintSolver()->setCollisionDetector(
std::make_shared<dart::collision::BulletCollisionDetector>()); |
Thanks! I changed the collision detector to be world->getConstraintSolver()->setCollisionDetector(
std::make_shared<dart::collision::BulletCollisionDetector>()); and compiled it with adding #include <dart/collision/bullet/BulletCollisionDetector.hpp> at the header and moving the constructer of BulletCollisionDetector from protected to public. |
Oh, my code snippet was incorrect. You should be able to create bullet collision detector as: world->getConstraintSolver()->setCollisionDetector(
dart::collision::BulletCollisionDetector::create()); without changing the code. |
Environment
DART version: 6.4.0
OS: macOS Sierra 10.13.5
I installed the dart from source following the instructions here: https://dartsim.github.io/install_dart_on_mac.html.
When I run the tutorialBiped-Finished, the messages are shown as follows. Does it matter? I checked bullet and it has already been installed.
The text was updated successfully, but these errors were encountered: