Deleting a model causes another instance to be deleted during the same simulation.
I have 2 SDF models : robotarm and mobilerobot.
mobilerobot is similar to the mobile robot from Gazebo's tutorial "make a mobile robot" except that I used the
<?xml version='1.0'?>
<sdf version='1.6'>
<model name="mobile_robot">
<static>false</static>
[...]
<include>
<uri>model://robot_arm</uri>
<pose>0.0 0 0.15 0 0 0</pose>
</include>
</model>
</sdf>
I start gazebo and insert a robotarm, then a mobilerobot (containing its own robotarm). After that, I select the robotarm (the one alone) and press Delete on the keyboard. robotarm is removed but the arm included on mobilerobot as well. Then Gazebo crashes.
Worth to mention : this does not happen if I delete mobilerobot first. robotarm stays in the simulation and nothing crashes. Inserting mobilerobot first and then robotarm will crash the same way if I delete the robot_arm first.
I have tested with ODE, Simbody and Bullet. Same result (unless it does not crash in bullet). Using Gazebo 7 on Ubuntu 14-04.
Does anyone ever noticed something similar?
Asked by dbrodeur on 2017-05-10 12:18:39 UTC
Comments