Open llan-ml opened 6 years ago
Same issue too here. Because of the viewer methods from the version 0.5 and version 1.5 are different, I get struggled at rendering simulation.
I have tested with InvertedPendulum-v2
, but the mismatching attributes have occurred. Model
from previous version and sim
from the latest version are not matched.
In the inverted_pendulum.py
from the gym/envs/mujoco
, the last line is still with the model
attribute which is that MjViewer
does not have.
To some extent, the design of MjSim and MjViewer should be separate. So far, we cannot render the simulation normally, and thus is there any way or workaround to use the viewer apis of version 0.5.7 to render MjSim?