Does anyone know of where in the FG code base I can find a function that takes
a position in 3-space and gives the resulting position after a pitch/roll/yaw
set of rotations?
In case you're wondering, this is needed by the new submodel system. A
submodel is an object that has a position (x,y,z) defined relative to the
center of the user aircraft (say a left-wing drop tank, which is attached to
the airplane at 1,-8,-3, where x is forward, y is right, and z is up). If
the airplane rotates to a certain pitch/roll/yaw, what is the new location of
the drop tank? I need to know this so the drop tank can be released from the
correct world coordinates (lat,lon,alt) no matter the aircraft's orientation.
I assume this function already exists somewhere, either in SimGear or in an
FDM. From what I've managed to learn about the matrices involved, I see that
there are many more ways of getting this wrong than there are of getting it
right :) Especially for me.
I'm flexible on the coordinate system. I know axis conventions might be
different.
Dave
--
David Culp
[EMAIL PROTECTED]
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d