[ODE] Contact Joints

DjArcas djarcas at hotmail.com
Wed Jul 9 12:45:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_006D_01C3465B.73D47EA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying to have a surface that's hard, so when a car hits it, it =
doesn't bounce off. Ideally, I'd want the car to align itself with the =
wall.... but my current problem is that if a car hits the wall at speed, =
ODE tends to throw a wobbly - either QNAN or the car spinning off =
through the world. I'm not sure quite what sort of number to put into my =
contact joints - does anyone have any input on this?


contact[i].surface.mode =3D dContactSlip1 | dContactApprox1 | =
dContactMu2 |dContactSlip1| dContactSlip2 | dContactSoftERP | =
dContactSoftCFM;

contact[i].surface.soft_erp =3D 0.85f;

contact[i].surface.soft_cfm =3D 0.05f;

contact[i].surface.mu =3D 0.901f;

contact[i].surface.mu2 =3D 0.901f;

contact[i].surface.slip1 =3D 9.0301;

contact[i].surface.slip2 =3D 9.0301;



Adam

------=_NextPart_000_006D_01C3465B.73D47EA0
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.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm trying to have a surface that's =
hard, so when a=20
car hits it, it doesn't bounce off. Ideally, I'd want the car to align =
itself=20
with the wall.... but my current problem is that if a car hits the wall =
at=20
speed, ODE tends to throw a wobbly - either QNAN or the car spinning off =
through=20
the world. I'm not sure quite what sort of number to put into my contact =
joints=20
- does anyone have any input on this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>
<P><FONT color=3D#808080>contact</FONT>[<FONT =
color=3D#808080>i</FONT>].<FONT=20
color=3D#808080>surface</FONT>.<FONT color=3D#808080>mode</FONT> =3D =
<FONT=20
color=3D#a000a0>dContactSlip1</FONT> | <FONT =
color=3D#a000a0>dContactApprox1</FONT>=20
| <FONT color=3D#a000a0>dContactMu2</FONT> |<FONT=20
color=3D#a000a0>dContactSlip1</FONT>| <FONT =
color=3D#a000a0>dContactSlip2</FONT> |=20
<FONT color=3D#a000a0>dContactSoftERP</FONT> | <FONT=20
color=3D#a000a0>dContactSoftCFM</FONT>;</P>
<P><FONT color=3D#808080>contact</FONT>[<FONT =
color=3D#808080>i</FONT>].<FONT=20
color=3D#808080>surface</FONT>.<FONT color=3D#808080>soft_erp</FONT> =3D =
0.85f;</P>
<P><FONT color=3D#808080>contact</FONT>[<FONT =
color=3D#808080>i</FONT>].<FONT=20
color=3D#808080>surface</FONT>.<FONT color=3D#808080>soft_cfm</FONT> =3D =
0.05f;</P>
<P><FONT color=3D#808080>contact</FONT>[<FONT =
color=3D#808080>i</FONT>].<FONT=20
color=3D#808080>surface</FONT>.<FONT color=3D#808080>mu</FONT> =3D =
0.901f;</P>
<P><FONT color=3D#808080>contact</FONT>[<FONT =
color=3D#808080>i</FONT>].<FONT=20
color=3D#808080>surface</FONT>.<FONT color=3D#808080>mu2</FONT> =3D =
0.901f;</P>
<P><FONT color=3D#808080>contact</FONT>[<FONT =
color=3D#808080>i</FONT>].<FONT=20
color=3D#808080>surface</FONT>.<FONT color=3D#808080>slip1</FONT> =3D =
9.0301;</P>
<P><FONT color=3D#808080>contact</FONT>[<FONT =
color=3D#808080>i</FONT>].<FONT=20
color=3D#808080>surface</FONT>.<FONT color=3D#808080>slip2</FONT> =3D =
9.0301;</P>
<P>&nbsp;</P>
<P><FONT face=3DArial size=3D2>Adam</FONT></P></DIV></BODY></HTML>

------=_NextPart_000_006D_01C3465B.73D47EA0--