Frees the native resources held by this MjModel. This is an advanced feature for use when manual memory management is necessary. This MjModel object MUST NOT be used after this function has been called.
(self)
| 328 | return self.__copy__() |
| 329 | |
| 330 | def free(self): |
| 331 | """Frees the native resources held by this MjModel. |
| 332 | |
| 333 | This is an advanced feature for use when manual memory management is |
| 334 | necessary. This MjModel object MUST NOT be used after this function has |
| 335 | been called. |
| 336 | """ |
| 337 | del self._ptr |
| 338 | |
| 339 | def name2id(self, name, object_type): |
| 340 | """Returns the integer ID of a specified MuJoCo object. |
no outgoing calls