[ODE] Serialization?

Martin C. Martin martin at metahuman.org
Tue Apr 13 17:15:21 MST 2004


I put everything I know in the wiki FAQ.  Did you check there?

- Martin

Tyler Streeter wrote:

> Martin:
> 
> In my project, I am trying to control the motion of a
> simulated human with evolved neural networks (
> http://www.vrac.iastate.edu/~streeter/avh.html ).
>  I think I am resetting everything for each fitness
> evaluation, but sometimes I get slightly different
> results.    I use the same human body for each neural
> network, but I reset the body for each trial.  Here is
> an example of what I am resetting:
> 
> dBodySetPosition(torso->GetBodyID(), initx, inity,
> initz);
> dBodySetForce(torso->GetBodyID(), 0, 0, 0);
> dBodySetTorque(torso->GetBodyID(), 0, 0, 0);
> dBodySetLinearVel(torso->GetBodyID(), 0, 0, 0);
> dBodySetAngularVel(torso->GetBodyID(), 0, 0, 0);
> dBodySetQuaternion(torso->GetBodyID(),
> initialQuaternion);
> 
> I do this for each body part.  The "initialQuaternion"
> is specified at the beginning of the simulation, so it
> should be the same for each trial.  I usually get
> repeatable results, but sometimes I don't.  If I use
> the exact same neural net for each trial, for
> instance, usually the very first trial responds
> slightly differently than the rest.
> 
> Do you know of anything else I should reset?
> 
> Thanks for your time.
> 
> Tyler Streeter
> 
> 
> --- "Martin C. Martin" <martin at metahuman.org> wrote:
> 
>>
>>Adam D. Moss wrote:
>>
>>
>>>there have been
>>>various users over the last year or two who I seem
>>
>>to remember
>>
>>>swearing blind that they were getting
>>
>>deterministic
>>
>>>behaviour from ODE, perhaps simply under very
>>
>>controlled
>>
>>>circumstances.
>>
>>I get deterministic behaviour from resetting the
>>world.  I was running a 
>>GA on top of ODE, so I'd reset "everything" for each
>>fitness run.  It 
>>took a little care, but I got it so that same
>>individual -> same 
>>behaviour, down to round-off errors.
>>
>>The posts I've seen have been about the definition
>>of "everything" in 
>>"resetting everything."
>>
>>- Martin
>>
>>
>>_______________________________________________
>>ODE mailing list
>>ODE at q12.org
>>http://q12.org/mailman/listinfo/ode
> 
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online by April 15th
> http://taxes.yahoo.com/filing.html



More information about the ODE mailing list