On Mon, 10 Sep 2007, Anders Gidenstam wrote:

>
> Hi all,
>
> I'm experimenting with head tracking and to get the data into FlightGear I
> want FlightGear to read a stream of binary UDP packets using the generic
> protocol capability. Since it currently only support binary protocols for
> output, I implemented some minimal support for binary input protocols.

My current update to src/Network/generic.cxx adds
- Selectable byte order for binary input/output.
- Binary input of fixed length records.
- FG_FIXED 32 bit fixed point data type. Format 16.16 bits.
which meets my needs for the head tracking.

I have put a patch and my example protocol here:

http://www.gidenstam.org/FlightGear/HeadTracking/FlightGear/

Any comments or suggestions?

Could this be committed?

Cheers,

Anders
-- 
---------------------------------------------------------------------------
Anders Gidenstam
mail: anders(at)gidenstam.org
WWW: http://www.gidenstam.org/FlightGear/JSBSim-LTA/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to