More:

 theta  phi   heading  magnitude
 45.00   0.00    0.00    45.00
 45.00 -45.00   45.00    75.00
  0.00 -45.00   90.00    45.00
-45.00 -45.00  135.00    75.00
-45.00   0.00 -180.00    45.00
-45.00  45.00 -135.00    75.00
  0.00  45.00  -90.00    45.00
 45.00  45.00  -45.00    75.00
 45.00   0.00    0.00    45.00

Not sure if this is really true, cause I have not yet figured out by longhand the ascent angle at 45/45 degrees, but it looks close if not right. The heading (as stated before) is:

-ATAN2(theta,phi)

The ascent angle magnitude is (where theta and phi are supplied in radians):

1.57 - ACOS(COS(theta)*(SIN(ABS(phi)))) + ABS(theta)

This might be able to be cleaned up considerably.

Jon


_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to