I'm playing around with an external perl script[1] for flightgear.  I've
been using the http interface, but as I do more and more things, that
is turning out to be a performance bottleneck.  Has anyone interfaced
to FlightGear's "telnet" service from a perl script.  I'm sure I could
figure it out, but if someone has already done this, it might save an
hour of my life.

Down the road I'm also seeing a need to have my script monitor some of
FlightGear's FDM output.  If FlightGear is already broadcasting this
via UDP (for other visual channels for instance) it would be cool if
my perl script could listen in and grab the data too.  Has anyone done
UDP socket communication via perl?  I know perl has all the socket
interface calls, but what worries me is how to translate a chunk of
binary data into perl variables ... probably easy once you know the
tricks.

Has anyone done either of these?

Thanks,

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org


[1] I know there are plenty of other scripting options out there, but
I'm familiar with and like perl, so that is what I've chosen, so I'm
looking for specific perl solutions here. :-)

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to