[ODE] Wheels bending ;-)

kaffiene kaffiene at xtra.co.nz
Sun Jun 2 02:59:02 2002


This is a multi-part message in MIME format.

------=_NextPart_000_006C_01C20A80.3525B330
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi - I posted this and got no replies, so I'm asking again =3D)

p.s. should the axis passed into dBodySetFiniteRotationAxis be the =
swiftly rotating axis in model space or word space? (I was using model =
space)

Cheers,

Peter.


  ----- Original Message -----=20
  From: kaffiene=20
  To: ODE List=20
  Sent: Friday, May 31, 2002 8:59 PM
  Subject: [ODE] Wheels bending ;-)


  Hi All,

  I've come across a problem which seems to be mentioned in the docs =
(section 11.9) - the problem of wheels on a car moving out of alignment =
under fast rotations.

  I've applied the recommended fix (dBodySetFiniteRotationMode(<each =
wheel body.>, 1) when bodies are created, and =
dBodySetFiniteRotationAxis(<each wheel body>, 0, 1, 0) before or after =
each time step of the simulation) but it doesn't seem to work.  When I =
use the setFiniteRotationAxis with axis y as above, I cannot steer my =
car at all!=20

  Anyone come accross this before?  Any ideas?

  p.s. I have tried using dBodySetFiniteRotationAxis(<each wheel body>, =
0, 0, 0) and dBodySetFiniteRotationAxis(<each wheel body>, 0, 0, 1) =
(it's a hinge2 joint with z and y axis, but I'm pretty sure that the z =
axis is *not* the one the wheel rotates about).  Neither of those =
approaches fixes the original problem, but I can at least steer =3D)

  Help! =3D)

  Thanks in advance for any ideas.

  Peter.

------=_NextPart_000_006C_01C20A80.3525B330
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.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi - I posted this and got no replies, =
so I'm=20
asking again =3D)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>p.s.&nbsp;should the axis passed=20
into&nbsp;dBodySetFiniteRotationAxis be the swiftly rotating axis in =
model space=20
or word space? (I was using model space)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Cheers,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Peter.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</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=3Dkaffiene@xtra.co.nz =
href=3D"mailto:kaffiene@xtra.co.nz">kaffiene</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 List</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, May 31, 2002 8:59 =
PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [ODE] Wheels bending =
;-)</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=3DArial size=3D2>Hi All,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I've come across a problem which =
seems to be=20
  mentioned in the docs (section 11.9) - the problem of wheels on a car =
moving=20
  out of alignment under fast rotations.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>I've applied the recommended fix=20
  (dBodySetFiniteRotationMode(&lt;each wheel body.&gt;, 1) when bodies =
are=20
  created, and dBodySetFiniteRotationAxis(&lt;each wheel body&gt;, 0, 1, =
0)=20
  before or after each time step of the simulation) but it doesn't seem =
to=20
  work.&nbsp; When I use the setFiniteRotationAxis with axis y as above, =
I=20
  cannot steer my car at all! </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Anyone come accross this =
before?&nbsp; Any=20
  ideas?</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>p.s. I have tried using=20
  dBodySetFiniteRotationAxis(&lt;each wheel body&gt;, 0, 0, 0) and=20
  dBodySetFiniteRotationAxis(&lt;each wheel body&gt;, 0, 0, 1) (it's a =
hinge2=20
  joint with z and y axis, but I'm pretty sure that the z axis is *not* =
the one=20
  the wheel rotates about).&nbsp; Neither of those approaches fixes the =
original=20
  problem, but I can at least steer =3D)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Help! =3D)</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Thanks in advance for any =
ideas.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial =
size=3D2>Peter.</FONT></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_006C_01C20A80.3525B330--