-
Notifications
You must be signed in to change notification settings - Fork 43
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
Collisions are ignored for nested models connected to parent models with fixed joint #264
Comments
I believe this is an issue in ign-gazebo. The problem stems from the recent performance improvements we've been making to ign-gazbebo. In gazebosim/gz-sim#678, we iterate through only the links whose absolute poses have changed. Consider a scenario where the canonical link has a change in pose but the other links don't. What will happen is that we update the pose of the model that is associated with the canonical link, as well as the pose of the canonical link relative to the model. However we skip the links whose absolute poses haven't changed, but since the Here's a simplified version of Here's what it looks like when I run it in ign-gazebo 5.0.0 and 4.9.1. test_cylinders_ign-gazebo4.mp4And this is in ign-gazebo 3.8.0 test_cylinders_ign-gazebo3.mp4/cc @adlarkin |
Looks like temporary fixing the issue I described above doesn't resolve the original issue with nested models raised by OP. |
Thanks for looking into this @azeey. |
This should be partially fixed by #268. |
Environment
Description
A common model composition paradigm used in our org is to model robot arms and end-effectors separately and connect them together with fixed joints, as such:
However, it seems like collisions in the child model are being ignored in dartsim since the update to Ignition Edifice. I have attached a simple sdf (test_cylinders.txt) with two cylinder models that shows this issue.
cylinder1
on the left is defined with a nested model structure whereascylinder2
on the right is defined with a flat model structure. When simulated,cylinder2
behaves correctly and falls on to the ground plane whereascylinder1
simply falls through.Steps to reproduce
Output
https://user-images.githubusercontent.com/2412842/122488705-e17a5e00-cf92-11eb-9257-2a1e3e251d69.mov

test_cylinders.txt
The text was updated successfully, but these errors were encountered: