-
Notifications
You must be signed in to change notification settings - Fork 485
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
Removing and inserting a new model failed #3396
Comments
My hunch is that the old model wasn't being removed cleanly thus we have this problem, we are using "world->RemoveModel(sphereModel);" to remove the model, it did get removed visually from the simulation world, but i think the resources related didn't get cleaned up completely. |
Which version of ogre are you using? If I recall correctly, at some point ogre changed the logic related to resources. You can find more information in conda-forge/gazebo-feedstock#74, in particular conda-forge/gazebo-feedstock#74 (comment) . At the conda-forge level, we are using a patch in https://github.com/conda-forge/gazebo-feedstock/pull/75/files that we never ported upstream as it creates a leak in version of ogre <= 1.9. |
I am using "Ogre Version: 1.12.9". |
Hi guys,
In the code, i am trying to remove an old model loaded originally from sdf file, then insert a new one with method "world->InsertModelSDF(*updatedSDF);"; the old one is being removed successfully, but i got error when inserting the new one:
Any thoghts on the problem? Thanks in advance.
The text was updated successfully, but these errors were encountered: