Skip to content

alanjfs/esbox2d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Evolutionary Strategy with Box2D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published