multiagent_mujoco icon indicating copy to clipboard operation
multiagent_mujoco copied to clipboard

Error in mujoco_multi.py

Open Duke-Allen opened this issue 2 years ago • 1 comments

I notice that the function close is raise NoImplementedError at class MujocoMulti in mujoco_multi.py. I want to know if it is means to be implemented by ourselves? If so, how can I implement it? Could you help me please? Thanks for your reply!

Duke-Allen avatar Feb 10 '23 02:02 Duke-Allen

The Close Function closes the render window, you generally do not have to call it on MuJuCo based environments

This is the solution, if you want it anyway: https://github.com/Farama-Foundation/Gymnasium-Robotics/blob/0a11cc96e43e7ada270c17fd0a25298269bdfbcd/gymnasium_robotics/envs/multiagent_mujoco/mujoco_multi.py

Solution is from: https://robotics.farama.org/envs/MaMuJoCo/

Kallinteris-Andreas avatar Feb 21 '23 09:02 Kallinteris-Andreas