resilient-swarms / argos-sferes

An interface to using the ARGoS robot swarm simulator with the Sferes evolutionary algorithm framework
3 stars 0 forks source link

Obstacles generated on different trials appear on the same positions #12

Closed bossdm closed 5 years ago

bossdm commented 5 years ago

Using 'distribute' in the configuration file does not appear to be placing obstacles differently depending on the trial. Currently obstacles are placed as follows:

`

  <orientation method="constant" values="0,0,0" />
  <entity quantity="2" max_trials="200">
    <cylinder id="c" height="0.5" radius="0.1500" movable="false" />
  </entity>
</distribute>`
bossdm commented 5 years ago

I guess it is supposed to work like that, since argos does not know about 'trials' ? and that is why you generated the robot positions inside our loop functions differently for each trial.

daneshtarapore commented 5 years ago

Yes. As the RNG seed is the same across the trials, the objects will be positioned similarly across trials.