Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Since we are using boost::shared_ptr for the links, the links will not be deleted until all copies of the pointer are gone. You should try clearing the links vector after calling liquid_model->RemoveChild, and then checking the links again.

Since we are using boost::shared_ptr boost::shared___ptr for the links, the links will not be deleted until all copies of the pointer are gone. You should try clearing the links vector after calling liquid_model->RemoveChild, and then checking the links again.