David Culp wrote:

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?

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.



There's one in YASim, in Glue.cpp. It uses a slightly different cartesian coordinate system (x forward,
y left, z up) than JSBSim does, but I'm pretty sure the euler axes are the same.


Andy

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

Reply via email to