EvoRobSim

From Robin

(Difference between revisions)
Jump to: navigation, search
(How to implement your own evolutionary setup and robot)
Line 19: Line 19:
=== How to define your own simulated robot ===
=== How to define your own simulated robot ===
* Make a custom (inherit) Blueprint which is a simulator/hardware-independent description of the robot
* Make a custom (inherit) Blueprint which is a simulator/hardware-independent description of the robot
-
** Implement a generateMachine method which generates a Machine (
+
** Implement a MyBlueprint::generateMachine method which generates a custom Machine (a simulator description of the robot)
 +
** File structure:
 +
*** my_blueprint.h - contains the MyBlueprint class description
 +
*** my_blueprint.cpp - contains the general implementation of MyBlueprint including serialization
 +
*** my_machine.cpp - contains the simulator-specific implementation of MyBlueprint, MyBlueprint::generateMachine
 +
*** my_nomachine.cpp - contains a dummy implementation of MyBlueprint::generateMachine
* Make a custom (inherit) RobotGenes which contains a description of the genes and how to mutate them
* Make a custom (inherit) RobotGenes which contains a description of the genes and how to mutate them
-
 
== more topics ==
== more topics ==

Revision as of 11:06, 14 November 2013

Contents

Evolutionary run

How to start an evolutionary run

  • set vc_solution as startup project
  • command arguments: hox-evolution (or yourname-evolution)
  • working dir: ../..
  • copy data/ into Debug/
  • make file seeds.txt and fill with random numbers from random.org, format one column


på lokal maskin, på flere

How to implement your own evolutionary setup and robot

How to implement an evolutionary control/harness/run

  • Make a custom (inherit) EvolutionManager with evolutionary setup

How to define your own simulated robot

  • Make a custom (inherit) Blueprint which is a simulator/hardware-independent description of the robot
    • Implement a MyBlueprint::generateMachine method which generates a custom Machine (a simulator description of the robot)
    • File structure:
      • my_blueprint.h - contains the MyBlueprint class description
      • my_blueprint.cpp - contains the general implementation of MyBlueprint including serialization
      • my_machine.cpp - contains the simulator-specific implementation of MyBlueprint, MyBlueprint::generateMachine
      • my_nomachine.cpp - contains a dummy implementation of MyBlueprint::generateMachine
  • Make a custom (inherit) RobotGenes which contains a description of the genes and how to mutate them

more topics

    • hvordan tolke resultatet
  • sette opp fitnessfunksjon
    • ett og flere objektiver
  • overføre resultat til virkelig robot
  • mulig å ha ett frittstående / fryst eksempel som kjører evolusjon (og hvordan kjør) og gjør det mulig å overføre?
  • stats for evolusjonsruns
Personal tools
Front page