I tried to use two gazebo models in a single sdf with some of their links connected through a fixed joint. One of the models is of the iCub robot and the other is a 2 link manipulator. When launching this composite model in gazebo I noticed that iCub robot is exploding. The problem was self_collision flag is set in the manipulator sdf and it is not set in icub sdf. So when loading the composite model the flag is enabled and this leads to self collisions in iCub robot and the explosive behaviour. By setting the flag false things are normal when loading the composite model.
Original report (archived issue) by yeshasvitvs (Bitbucket: yeshasvitvs).
Hello,
I tried to use two gazebo models in a single sdf with some of their links connected through a fixed joint. One of the models is of the iCub robot and the other is a 2 link manipulator. When launching this composite model in gazebo I noticed that iCub robot is exploding. The problem was self_collision flag is set in the manipulator sdf and it is not set in icub sdf. So when loading the composite model the flag is enabled and this leads to self collisions in iCub robot and the explosive behaviour. By setting the flag false things are normal when loading the composite model.