That solved it. Not sure why the network wasn't returning floats
already, but oh well.
I'd definitely be interested in contributing once I get the code
cleaned up enough for other people to make sense of it. It'll have to
wait until my research projects are finished, so hopefully some time
over the summer.
Dave
On 27 Mar 2008, at 14:51, Douglas S. Blank wrote:
Dave Zoltok wrote:
The values being sent out from the network are sigmoided to be
between 0 and 1. I've compared my code to Randy Beer's C++ version
and it's behaving as expected.
Here's the output from the first step in the default Braitenburg.py
world (the output):
left input = 0.154401, right input = 0.147611
left state = 9.925388, right input = 9.925658
left output = 0.481356, right output = 0.481423
If I try passing the left and right outputs into self.motors(),
none of this is output at all, even though the print statements
occur before self.motors() is called.
Dave,
The only thing I can think of is that the values you are passing in
aren't actually floating point numbers. Perhaps your code is
returning something else? You might try wrapping a float() around
them before passing them to motors.
BTW, would you be interested in contributing your ctrnn code to
Pyro, or making a wiki page describing its use?
-Doug
Dave
On 26 Mar 2008, at 19:33, Douglas S. Blank wrote:
Dave,
What are the values you are feeding to the motors? They are
expecting values between -1 and 1.
-Doug
_______________________________________________
Pyro-users mailing list
[email protected]
http://emergent.brynmawr.edu/mailman/listinfo/pyro-users