Tutorial on creating automatic V-REP simulations for statistical studies
Posted: 18 Jul 2018, 14:45
I need to run a large number of V-REP simulations for similar scenarios but with some starting parameters slightly varied for each. I need to do this both in cases of randomly varied (within defined limits) parameters and other cases where I will need to try a simulation with a certain parameter, then raise or lower it a little, then repeat. From these simulations I need to collect certain pieces of data and log them to a text file for later analysis.
Are there any tutorials or guides for setting up this kind of thing, especially in regards to running it on a cluster computer for which there is no GUI environment present at all? Is there any example overall script into which a user can drop in robots and other objects with the relevant robot controller child scripts on them and state somewhere what they want to log and how? My hope is to perform these kind of statistics gathering simulations after developing robot objects and their controller child scripts by using V-REP in the normal way and so I would already have my objects all set up and would need only to copy and paste them from the scenes where I have been developing them into a statistical simulation V-REP scene which could handle automatically generating new starting positions/orientations and editing some specific variuables within child scripts for a series of N runs each set to last either a certain amnount of simulated time or set to terminate when a certain condition is achieved.
I have read about this sort of thing being done with V-REP but have not been able to find any guide on how.
Thanks
Are there any tutorials or guides for setting up this kind of thing, especially in regards to running it on a cluster computer for which there is no GUI environment present at all? Is there any example overall script into which a user can drop in robots and other objects with the relevant robot controller child scripts on them and state somewhere what they want to log and how? My hope is to perform these kind of statistics gathering simulations after developing robot objects and their controller child scripts by using V-REP in the normal way and so I would already have my objects all set up and would need only to copy and paste them from the scenes where I have been developing them into a statistical simulation V-REP scene which could handle automatically generating new starting positions/orientations and editing some specific variuables within child scripts for a series of N runs each set to last either a certain amnount of simulated time or set to terminate when a certain condition is achieved.
I have read about this sort of thing being done with V-REP but have not been able to find any guide on how.
Thanks