Tempomary solution to openai/mujoco-py#373
Exports joits to file and than the C-code uses them to go throught the simulation in mujoco-py. Currently fixing problem with simulation of objects with skin in MuJoCo-py.
How to use:
- Modify your model (copy), so it does not use skin.
- Use your python code with the model without skin to generate the sim.data.qpos (and than export it to csv by file.writerow(sim.data.qpos).
- Use the csv with qpos + model with skin as inputs for the viewer (.cpp).
There is also space for improvement, it does export active forces, so you could display them, but I did not bother as it was not importatnt for my use.