I've been fiddling around with the Generic protocol and managed to 
connect a few addons meant for Aerowinx PS1 to an instance of FlightGear.

Screen's here: http://i83.photobucket.com/albums/j282/Stoney3K/ps1fg.jpg

The connection was made letting FlightGear pretend as an instance of 
PS1, which worked flawlessly for the standby instruments but the PFD and ND
are still work-in-progress, since they rely on IRS data from PS1 (which 
FlightGear may not directly provide). But that's not much of an issue, I 
do have a few concerns
with the generic protocol.

* The 'generic' protocol doesn't define an action for an initial 
handshake procedure. Normally Broker applications communicate in plain 
ASCII and register themselves first
before transmitting or receiving data. Since I didn't have the option 
here, FlightGear stayed 'Unknown' to the Broker.

* The line and variable separator strings are at the moment a little, 
obscure. What I wanted was to put a full data frame with all variables 
on a single line, and start the new line with the word 'put'.
But since the tags only accepted a 'newline' keyword for the CR-LF 
character or a custom string of characters (not including the CR-LF in 
C-style '\n', haven't tried HTML yet), this was impossible and
it took a big hit on the overhead and consequently the framerates of the 
instruments. But the thing worked, and I think that's a pretty cool 
achievement for an hour's worth of spent boredom :)

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to