[ODE] Random seed
Pete Baron
sibaroni at hotmail.com
Sun Aug 22 22:58:20 MST 2004
Hi Lukasz,
afaik there's only the dRandSetSeed() function used for random
initialisation in ODE. So as long as you call that with a constant (rather
than the time or some other variable value) then you should find ODE repeats
identically every time. Make sure you do actually call it though, as I
don't think it's called by default anywhere in the ODE stuff, so you'll get
differing behaviour depending on what happens to be in that memory location
when the program's started otherwise.
cheers,
Pete Baron
sibaroni at hotmail.com
http://home.btconnect.com/pete/homepage.html
> Date: Sun, 22 Aug 2004 17:18:52 +1000
> From: "Lukasz Wiklendt" <lwiklend at cs.newcastle.edu.au>
> Subject: [ODE] Random seed
> To: "ODE Mailing List" <ode at q12.org>
> Message-ID: <200408220713.i7M7D3fm015055 at hook.org>
> Content-Type: text/plain; charset="us-ascii"
>
> Is there a way to set the/all random seeds used in ODE so that each run of
> ODE progresses exactly the same way? Basically I've got a robot simulation
> set up for my AI postgrad research, and instead of saving all data I would
> like to save just the initial configuration and be able to reproduce the
> experiment exactly.
>
> If this is not possible, are there certain ODE joints or properties to
avoid
> which introduce randomness in the simulation?
>
> Cheers,
> Lukasz.
>
More information about the ODE
mailing list