|
the simplest option for FG might be to add a "PropertyConverter" that transparently converts between FlightGear properties and ARINC 429 labels automatically.
This could be largely based on C++ templates, similar to how the XDR encoding/decoding routines work for multiplayer purposes- but directly added to the property system. That should make it REALLY easy to directly get an ARINC 429 label for any property in the tree and use it later on.
Now, regarding I/O - Unlike FSX and X-Plane, we also don't need to use shared memory in FG, because we have really powerful and open networking support.
Regarding USB/RS232 interfacing, we do have a related feature request pending: https://code.google.com/p/flightgear-bugs/issues/detail?id=619
Basically, we would only need to modify our SGPropertyNode class a little to make it possible to register "converters" for custom representations, such as BCD, BNR, ARINC 429 labels etc - this could even make our XDR wrappers obsolete.
|
|