Skip to content

xihuai18/MaMuJoCo-PettingZoo

Repository files navigation

Multi-agent MuJoCo Robotics Environment with PettingZoo Compatibility

MaMuJoCo-PettingZoo - Multi-agent MuJoCo robotics environment with Convenient Wrappers and Utilities. The origin environment can be found at https://github.com/Farama-Foundation/Gymnasium-Robotics.

Installation

PyPi from sources

pip install git+https://github.com/xihuai18/MaMuJoCo-PettingZoo.git

Install from GitHub sources

git clone https://github.com/xihuai18/MaMuJoCo-PettingZoo.git
cd MaMuJoCo-PettingZoo
pip install -r requirements.txt
pip install .

Test

python -c "from mamujoco_pettingzoo import mamujoco_pettingzoo_v1; env = mamujoco_pettingzoo_v1.parallel_env('Ant', '4x2'); print(env.reset(seed=42)); print(env.step({agent: env.action_space(agent).sample() for agent in env.agents}))"

About

MaMuJoCo from https://github.com/Farama-Foundation/Gymnasium-Robotics with Convenient Wrappers and Utilities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages