I am trying to use Flightgear as a GUI for an air traffic simulator.
I use the CVS head and the multiplayer mode (--multiplay=in,10,,5500) on a gnu/linux intel box.
I though the positions were in meters in a geocentric frame.
When i start in the default position KSFO:28L (-122.358, 37.6117) I read the following x,y,z [2985, 2063, 4350] from the socket.
When i send these coordinates back, the plane shows up at the right place.
I noticed that sqrt(2985^2 + 2063^2 + 4350^2) = 5664 wich seems far from earth radius.
When i do the computation myself, i find (-122.358, 37.6117) -> [-2708844 -4272575 3871453]
which leads to 6370312 for earth radius and seems closer to reality.
What am I missing ??? Regards
Antoine
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
