jceipek/PyCritters — Issue #7: actuatorValues length consistency problem
Author: jceipek
Created: 2011-12-02 20:09:27+00:00
State: open

5 6
Traceback (most recent call last):
File "critters/life.py", line 160, in
evo.run(5)
File "/Users/jceipek/Development/PyCritters/critters/genetics.py", line 134, in run
doGeneration()
File "/Users/jceipek/Development/PyCritters/critters/genetics.py", line 130, in doGeneration
nextGen.calculateFitness(self.fitnessCalculator)
File "/Users/jceipek/Development/PyCritters/critters/genetics.py", line 25, in calculateFitness
self.scores = fitnessCalculator.calculate(self.individuals)
File "/Users/jceipek/Development/PyCritters/critters/genetics.py", line 48, in calculate
return dict((indv, self._doCalculation(indv)) for indv in individuals)
File "/Users/jceipek/Development/PyCritters/critters/genetics.py", line 48, in
return dict((indv, self._doCalculation(indv)) for indv in individuals)
File "critters/life.py", line 151, in _doCalculation
simEnv.simulate(timeToRun=self.maxTime)
File "/Users/jceipek/.virtualenv/main/lib/python2.7/site-packages/critters/physics/simulationEnvironment.py", line 215, in simulate
self.run(offset=offset,timeToRun=timeToRun)
File "/Users/jceipek/.virtualenv/main/lib/python2.7/site-packages/critters/physics/simulationEnvironment.py", line 185, in run
self.step()
File "/Users/jceipek/.virtualenv/main/lib/python2.7/site-packages/critters/physics/simulationEnvironment.py", line 149, in step
raise ValueError, "actuatorValues length is inconsistent with phenotype hinge length"
ValueError: actuatorValues length is inconsistent with phenotype hinge length