schroederdewitt / multiagent_mujoco

Benchmark for Continuous Multi-Agent Robotic Control, based on OpenAI's Mujoco Gym environments.
Apache License 2.0
330 stars 34 forks source link

One function is not defined #1

Closed cdqu closed 4 years ago

cdqu commented 4 years ago

I tried to run 'mujoco_multi.py' on Ubuntu 18.04. But I have found that one function in mujoco_multi.py line 219, which is get_nearest_obs(), is not defined and the program failed. Could you please give the definition? Thank you very much!

schroederdewitt commented 4 years ago

Hi, thanks for raising this issue! The code at the bottom of _src/multiagent_mujoco/mujocomulti.py is outdated and I have just removed it. If you are wondering how to use Multi-Agent Mujoco, please have a look at the readme. If you want to extend it with new scenarios, please have a look at the existing scenario definitions in _src/multiagentmujoco/obsk.py . If you get stuck, please do not hesitate to contact me again! Many thanks. Christian