Re: steering angle

David Savinkoff <[email protected]>
Newsgroups gmane.games.torcs.general
Message-ID <29683298.2913836.1313537435903.JavaMail.nitido@priv-edmwes92>
Aug 16, 2011 12:32:22 PM, [email protected] wrote:

Hey,

does anyone know how I get the real steering angle of car?
I don't mean the control variable.

Thanks!

Regards
Torben

***************************************************************
If you know (a) = the wheelbase and you know (b) = the turning radius
you draw a right-angle triangle where the hypotenuse
is (c) = square-root(a*a + b*b).
Law of sines:
sine(A)/a = sine(C)/c
sine(A) = a*sine(C)/c
sine(A) = a*sine(90)/c
sine(A) = a*1.0/c
sine(A) = a/c
Angle A in degrees:
A = arcsine(a/c)
Answer:

A = arcsine(a/square-root(a*a +b*b))

David


------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.