[ODE] Wheels bending ;-)

kaffiene kaffiene at xtra.co.nz
Fri May 31 01:45:02 2002


This is a multi-part message in MIME format.

------=_NextPart_000_009D_01C208E6.0D4E49D0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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_009D_01C208E6.0D4E49D0
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 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 out=20
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 =

created, and dBodySetFiniteRotationAxis(&lt;each wheel body&gt;, 0, 1, =
0) before=20
or after each time step of the simulation) but it doesn't seem to =
work.&nbsp;=20
When I use the setFiniteRotationAxis with axis y as above, I cannot =
steer my car=20
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></BODY></HTML>

------=_NextPart_000_009D_01C208E6.0D4E49D0--