-
Notifications
You must be signed in to change notification settings - Fork 26
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
Talos with simple collision boxes #168
Conversation
Could we add the collision filters to the TalosFast class in robot_dart? (or to a new TalosFastCollisions class)? |
@dalinel thanks for this. A few comments: |
Ah and by the way, great work! |
Ok so I have added a It returns a vector of tuple with the I have used this in the examples |
To make this transparent to the user, I'd do this inside the Otherwise this is looking niiiice! Thanks! |
Your welcome! I hope it will help to have better Talos simulation ! |
@dalinel thanks for the work! I made a few minor fixes and clean-up. Once the tests/build pass, I will merge.. ;) |
This adds two talos model :
I have taken one box per significant body node
The boxes are entirely covering the talos mesh shapes
Hence the boxes are bigger than the talos mesh shape and collision will happen sooner than what we expect with meshes
You can see the box model here on rviz and robot_dart:
In my code I have added a collisionFilter to the world
ConstraintSolver
with the following bodynodes pairs:This is because
disableAdjacentBodyCheck();
is only taking directly adjacent bodynodes and it is not enough on some links.