jceipek/PyCritters — Issue #3: Neural Networks and actuators
Author: wcdolphin
Created: 2011-12-01 20:11:43+00:00
State: open

We have created an addCreature(critter) method in Simulation Environment, we need a way to incorporate the neural networks into the step method in simulationEnvironment.

Does the NN have references to the PhysicsConstraints and or the PhysicsObjects that it is controlling? I am simply not sure where the information lives, but if we can get references/ids of the PhysicsConstraints that the NN controls, then it should be a simple task in step() of asking the NeuralNetwork to step each of it's nodes, which currently returns a dictionary of actuators-> value mappings, I believe. The issue is that I do not believe those actuators are either pybox2d.joints or objects.PhysicsConstraints. We therefore need a way to map those actuators to objects.PhysicsConstraints or pybox2d.joints (we already have a mapping from objects.PhysicsConstraint to pybox2d.joints in simenv).