Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

I wrote a little test which checks the vector of models returned by World::GetModels after a model is deleted by sending an entity_delete request (as gzclient does), and the test passes. This means the model is being properly removed from the vector.

Not sure what could be going wrong in your case. Are you sure you're getting a new vector of models? Did you give it enough time for the model to be fully deleted?