[ODE] Re: repeatability in collisions?

Victor B. Zordan vbz at cs.ucr.edu
Mon Mar 21 12:01:05 MST 2005


>> With the same initial state the simulations should end
>> exactly the same. It works for me and many others.

Yes, works for me too - as long as collisions aren't turned on.
This makes me conclude it is not my *sim* reset function but the
collide code which is not being reset...

Has anyone had luck making collisions repeatable?  And if so,
what (if anything) should I reset in the collide code?

Thx!
vbZ

On Mon, 21 Mar 2005, George Birbilis wrote:

> ----- Original Message -----
> From: "Hampus Soderstrom" <...>
> Subject: Re: [ODE] repeatability in collisions?
>
>
>> Hi,
>>
>> This has been discussed before. With the same initial state the
>> simulations should end
>> exactly the same. It works for me and many others.
>>
>> A suggestion is to print out all joint and body parameters before the
>> first simulation step
>> and do a diff on them to find out what is not reset.
>>
>> What does your reset function look like?
>>
>> cheers
>>
>> Hampa
>> toribash
>>
>
>>>> I am trying to determine whether a repeatability bug is
>>>> known and if there is a workaround (for example, reset
>>>> some random seed or ???)
>>>
>>> maybe you need to search the source base for any functions relating to
>>> random number generation and to getting system time or reading any
>>> system timers
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>


More information about the ODE mailing list