[ODE] How to "Reset"

Henri Hakl henri at cs.sun.ac.za
Wed Mar 12 05:37:01 2003


This is a multi-part message in MIME format.

------=_NextPart_000_000A_01C2E8A5.822D7420
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Is it possible to "clone" a physics setup? I could initialize a system, =
make a backup and use copies of the backup whenever I wanted to =
reinitialize the system.

  ----- Original Message -----=20
  From: Henri Hakl=20
  To: ode@q12.org=20
  Sent: Tuesday, March 11, 2003 11:20 PM
  Subject: [ODE] How to "Reset"


  Hi ODE pplZ :)

  I'm in the deep programming phase for my current project which =
involves simulating a body in ODE numerous times. During each iteration =
the world (specifically the body) need to be reset to initial =
conditions. What is the best (speak fastest) way of accomplishing this?

  Just reset all segment positions and orientations manually? Destroy =
and recreate? Something else?

  thanks! :)
    Henri

------=_NextPart_000_000A_01C2E8A5.822D7420
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Is it possible to "clone" a physics =
setup? I could=20
initialize a system, make a backup and use copies of the backup whenever =
I=20
wanted to reinitialize the system.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dhenri@cs.sun.ac.za href=3D"mailto:henri@cs.sun.ac.za">Henri =
Hakl</A>=20
  </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A title=3Dode@q12.org=20
  href=3D"mailto:ode@q12.org">ode@q12.org</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Tuesday, March 11, 2003 =
11:20=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [ODE] How to =
"Reset"</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Hi ODE pplZ :)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I'm in the deep programming phase for =
my current=20
  project which involves simulating a body in ODE numerous times. During =
each=20
  iteration the world (specifically the body) need to be reset to =
initial=20
  conditions. What is the best (speak fastest) way of accomplishing=20
  this?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Just reset all segment positions and =
orientations=20
  manually? Destroy and recreate? Something else?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>thanks! :)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>&nbsp;=20
Henri</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000A_01C2E8A5.822D7420--