ggazzo / opennero

Automatically exported from code.google.com/p/opennero
Other
0 stars 0 forks source link

rtNEAT agents crash on fitness calculation #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start OpenNERO
2. select Roomba mod and press start
3. click "Add Bot"
4. The following error occurs:

  File "/var/local/ikarpov/build-of-trunk/dist/Roomba/roomba.py", line 58, in act
    self.plan(time, sensors, reward)
  File "/var/local/ikarpov/build-of-trunk/dist/Roomba/roomba.py", line 97, in plan
    self.reward = self.reward + reward
TypeError: unsupported operand type(s) for +: 'int' and 'DoubleVector'

Original issue reported on code.google.com by ikarpov on 25 Jan 2011 at 12:42

GoogleCodeExporter commented 9 years ago

Original comment by ikarpov on 25 Jan 2011 at 12:42

GoogleCodeExporter commented 9 years ago
this also applies to rtneat agents in Maze and NERO

Original comment by ikarpov on 25 Jan 2011 at 12:50

GoogleCodeExporter commented 9 years ago
Revision #772 should address this issue in Maze and Roomba. NERO RTNEAT agent 
has already been updated (but it has other issues).

Original comment by ikarpov on 25 Jan 2011 at 12:55

GoogleCodeExporter commented 9 years ago

Original comment by ikarpov on 25 Jan 2011 at 12:56