-
Notifications
You must be signed in to change notification settings - Fork 486
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
can't spawn a model with the same name as a previously-deleted one #510
Comments
Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters). Are you spawning the model using the "Insert" tab on the left side of the screen? In the latest development branch of gazebo, I can verify that the model is successfully deleted from the server (I spawned and deleted some models and then did a "Save world as" and the models were not listed in the saved sdf file). I think the model is not being deleted from the client, which increments the model name in ModelMaker::CreateTheEntity:348-355. |
Original comment by Jonathan Bohren (Bitbucket: jbohren). This was in version 1.3, using the ROS service to spawn the model, and the gazebo gui to delete it. Since the server reports no errors, I wouldn't be surprised if it was just a problem with the gui client. |
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
Until 2.0 |
Original comment by Silvio Traversaro (Bitbucket: traversaro). The issue is still present in the latest version of Gazebo. If I then delete it and I respawn it from the GUI, then the robot name will be This happens only for model spawned with the GUI. The cause is that the for the model created by the GUI, the
The problem is that the
Unfortunately the |
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina). Pull request #2296 -> server generates unique names for models, gazebo7 Pull request for default is coming up. Also working on server generating unique names for lights. |
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina). pull request #2301 -> server generates unique names for models, default |
Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina). I can't reproduce the issue on Gazebo 9, try for example:
|
Original report (archived issue) by Jonathan Bohren (Bitbucket: jbohren).
I looked for a ticket corresponding to this kforge ticket, but couldn't find one: https://kforge.ros.org/gazebo/trac/ticket/49
The text was updated successfully, but these errors were encountered: