[ODE] Slip angle for a car
Gerhard Wesp
gwesp at cosy.sbg.ac.at
Thu Feb 26 08:38:10 MST 2004
On Wed, Feb 25, 2004 at 12:24:59PM -0000, Stephen Smyth wrote:
>
> cos(alpha) = x*Vx + y*vy + z*Vz
>
> Is this completely wrong?
Almost right :-) You need to normalize the vectors, i.e.
cos(alpha) =
x*Vx + y*vy + z*Vz / sqrt( (x^2 + y^2 + z^2)(Vx^2 + Vy^2 + Vz^2) )
Regards,
-Gerhard
--
Gerhard Wesp o o Tel.: +41 (0) 43 5347636
Bachtobelstrasse 56 | http://www.cosy.sbg.ac.at/~gwesp/
CH-8045 Zuerich \_/
More information about the ODE
mailing list