Andy Ross writes: > > For reference, YASim does all of its internal mechanics in a > geocentric cartesian coordinate system. It never usees anglular > measures except at the interface level. In these coordinates, the > aircraft state is pleasingly simple: > > position: 3 doubles > orientation: 9 floats (I use a matrix for simplicity; a quat would be > smaller) > velocity: 3 floats > rotational velocity: 3 floats > acceleration: 3 floats > rotational acceleration: 3 floats >
Yep this is good stuff, IMO the ONLY time we should use the < lat, lon, elev > form is when we are communicating with the user, internally we should allways use the cartesian form the idea that the FDM has to convert from xyz to lat/lon for the View and the Model which in turn have to convert back into XYZ is simply extra 'error prone' busy work Norman _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
