This is NAO-V40 training environment based OpenAI Gym standards. Pybullets is used as the simulationg environment.
├── baselines
│ ├── nao.py
│ └── test_walk.py
├── HumanoidRL
│ ├── envs
│ │ ├── humanoidRL.py
│ │ ├── __init__.py
│ │ ├── test_script.py
│ │ ├── Utility.py
│ │ └── walk_positions.pckl
│ ├── humanoid
│ │ ├── LICENSE.txt
│ │ ├── meshes
│ │ └── nao.urdf
│ └── __init__.py
├── README.md
├── setup.py
├── spinup_run.py
└── test_policy.py
baselinescontains the reference items.envscontainshumanoidRLscript which it the standard Gym environment.Utilityclass contains the basic functions for communicating with the simulator.humanoidcontains the meshes and basic physics configrations for NAO V40.
- Ensure that you are using Python3.
git clone https://github.com/taapasX28/HumanoidRL
cd HumanoidRL/
pip install -e .test_script.pyis the testing script for utlity functions and the environment seperately.- Use
python test_script --env=Trueto test environment. - Use
python test_script --util=Trueto test utilities.
- Run
spinup_run.py. You needspinningupaiinstalled for that.
- Run
python test_result.py --file <path_to_directory>to load and run the saved model. - BUG: Change the feed_dict input from
x[None,:]tox[None,:][0].Tinspinup.utils