Hi Frank.

On Monday 03 December 2007 00:01:50 frank hadder wrote:
> I'm wanting to access the multiplayer positioning data in a third party
> software. Currently, I've modified the FlightGear code to forward position
> messages received from the multiplayer server to my external application.
> It appears I'm receiving these messages fine because I can read information
> in the message header (like the callsign of the plane in question and the
> type of message being sent). However, when I try to read the position and
> orientation portions of the message, I can't seem to convert these numbers
> to something accurate. I'm emulating (verbatim) the FlightGear code that
> reads these messages. I suppose my question is, is there anything special I
> need to know about these numbers? Any special conversions I need to make or
> code I need to look at? Any help would be appreciated.

There are only two points to mention:
1) The position data is XDR-encoded
2) The position is encoded in geodetic coordinates

So in order to interpret the data you have to decode the XDR-data and convert 
the coordinates to your local coordinate-system.

There is nothing special or magical involved.

Regards,
Oliver


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to