On Thursday 02 March 2006 04:47,  Pigeon wrote:
> > Would it be
> > possible to use the actual aircraft heading, or save the last heading
> > and use that when the speed drops below some threshold?  It's a minor
> > point, but wierd to see an airplane at the end of the runway with it's
> > heading popping all over between random values.
>
>     It should be possible to use the actual heading. I need have a look
> at the MP protocol again, or someone might want to point out to me which
> part of the data/numbers i can make use of...

The FG-protocoll sends a vector as orientation data, defined as:

--- cut ---
    // orientation wrt the earth centered frame, stored in the angle axis
    // representation where the angle is coded into the axis length
    xdr_data_t orientation[3];
--- cut ---

I can either compute a degree value (0=north, 180=south etc) and provide the 
map with this as an additional value or provide the complete vector.

Since the map uses the telnet interface to the server, which in fact wasn't 
meant to get "abused" that way but let humans have a look at current clients, 
I suggest to let the server print out a degree value so humans can make sense 
of that value, too.

regards,
Oliver


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to