lis-epfl / robogen

RoboGen - Robot generation through artificial evolution
http://www.robogen.org
GNU General Public License v3.0
27 stars 16 forks source link

Multiple starting positions #15

Closed amcolex closed 11 years ago

amcolex commented 11 years ago

Hello,

We believe that there may be an error with regards to the multiple starting positions.

We ran the evolution algorithm with a population of 1, with 3 different starting positions and used the robogen-server-viewer for the simulation client.

The evolution algorithm would complete a generation step after only 1 simulation using the first starting position.

Here is our StartPos.txt file: https://dl.dropboxusercontent.com/u/15692375/startPos.txt

amaesani commented 11 years ago

You are right guys, with the new version that will be release tonight, it should be fixed. Please check the new version tomorrow to be sure to have all the latest changes.

ouly commented 11 years ago

Hi, Comparing projects robogen-server-viewer and robogen-simulator, it seems that this issue has been fixed in robogen-simulator but not robogen-server-viewer. In addition, as the codebase seems to be the same, it would be better to have something setting up the execution environment (according to args, conf, ...), something handling the evolution algorithm (function, class, ...), something handling the view and then just calling them in server.cpp and ServerViewer.cpp Regards, The A-Team

amaesani commented 11 years ago

Hi guys,

I did not maintain the server-viewer as it was just used for debug at the beginning and planned to be removed at some point.

however, if you find it useful, it might indeed be a good idea to merge the shared parts of the code in common utility files (for the file-viewer as well)... In case you want to contribute some code, feel free to do it :-)

Andrea

On Saturday, May 11, 2013, Olivier Wenger wrote:

Hi, Comparing projects robogen-server-viewer and robogen-simulator, it seems that this issue has been fixed in robogen-simulator but not robogen-server-viewer. In addition, as the codebase seems to be the same, it would be better to have something setting up the execution environment (according to args, conf, ...), something handling the evolution algorithm (function, class, ...), something handling the view and then just calling them in server.cpp and ServerViewer.cpp Regards, The A-Team

— Reply to this email directly or view it on GitHubhttps://github.com/amaesani/robogen-simulator/issues/15#issuecomment-17757982 .

amaesani commented 11 years ago

I added the fixes for ServerViewer.cpp in case you need them (I did not tested though, so let me know if you experience again any problem with that)