mujoco-py icon indicating copy to clipboard operation
mujoco-py copied to clipboard

Saving changes in a model

Open erdemuysalx opened this issue 3 years ago • 0 comments

Hi everyone,

I have a humanoid model which I want to be able to manipulate its joints' poses. I tried this in the Python API by changing the qpos state then saving as a new XML, which did not worked. When I load saved XML file, it looks same as original one in the simulation?

For saving purposes I used functions.mj_saveModel and functions.mj_saveLastXML methods.

What am I missing? What is the proper way of doing this?

erdemuysalx avatar Nov 23 '22 10:11 erdemuysalx