Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.22 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.22 KB

Evolutionary Strategy with Box2D

Specifically, the Cartpole-v0 environment from OpenAI's Gym, implemented with with Magnum and Eigen and Adriel-M's Cartpole-v0 solution.

$ esbox2d.exe
...
Mouse to interact
Enter to run
R to reset
D to disable on done

The Enter key runs 100 generations for 200 steps in a population of 10. The R key resets the simulation, using the current weights to drive the cartpole.


Build

You'll need..

git clone https://github.com/alanjfs/esbox2d.git
cd esbox2d
mkdir build
cd build
cmake ..
cmake --build .

Tested with Visual Studio 2019, open the CMakeLists.txt file as-is


Problem

It currently isn't learning anything.