Skip to content

About

AI Master Project: Comparing learning with inherited knowledge to learning from zero in evolutionary robots.

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

AI Master Computational Intelligence

AI Master Project: Comparing learning with inherited controllers to learning from zero in evolutionary robots.

In this project we investigate whether evolutionary robots find better solutions when using some brain optimizer with and without inherted controllers from the previous generation in a waypoint navigation task. We will also analyze various morphological features to examine whether the different learning methods lead to significant evolutionary changes.

til ^ A fully evolved robot (learning done with controller inheritance) navigating from its spawn point (green) to multiple waypoints.
Note:

  • A smooth video render is available in /Media.
  • Gif and video show sped-up motion. The video should represent motion over ~140-160 seconds in real life.
  • Actual locomotion was slightly different as the green/pink waypoints slightly protrude from the floor and may have different friction coefficients than the floor.

Installation/prerequisites

  • Install Revolve2_TL; a modified version version of Revolve2 with changes to support targeted locomotion.
  • pip install plotille for in-terminal fitness plots.
  • pip install matplotlib for visualizing morphological features.

Installation notes

This implementation has mainly been tested on MacOS and Ubuntu. On MacOS, pip install cmake had to be run before running sh student_install.sh per Revolve2's installation instructions.

On Ubuntu, sudo apt install python3.11-dev had to be run before running sh student_install.sh.

Experimentation

Run main.py in the Experiments folder. Various parameters can be passed, for which explanations can be found through python main.py -h. config.py also contains many important parameters.

run_deconstructed.py contains a deconstructed script run without functions, which allows for variable and object exploration.

Statistical testing

The scripts in the Stat_analysis folder contain the datasets and scripts used to perform the statistical tests discussed in the report.

About

AI Master Project: Comparing learning with inherited knowledge to learning from zero in evolutionary robots.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages