On Mon, Feb 28, 2011 at 9:28 AM, Roberto Inzerillo <rob...@gmx.net> wrote:
>
>> a look at the sources shows that a fixed polling interval is used for
>> telnet - default is 5Hz. So it cannot process more than 5 commands per
>> second. That's why it's slow. There's better methods of implementing
>> socket communication instead of polling, but I haven't looked into the
>> module and don't know why this was chosen. The polling interval is
>> configurable though - so you can speed it up. Use:
>>       fgfs ..... --telnet=medium,direction,HZ,localhost,PORT,style
>> ...
>> cheers,
>> Thorsten
>
> Thank you very much Thorsten, that was a gigantic help :-)
> You saved my day :-)
>

Roberto,



I had been experimenting with adding cockpit controls to FlightGear
with the help of python. Unfortunately other things have gotten in the
way.. such as work and better weather for being outdoors!

I gave up on the telnet interface and went down the Generic IO path.
My code can be found at
https://github.com/georgepatterson/Flightgear-Console so feel free to
grab what you like from that. Feel free to drop me a line off list if
you get stuck.

Regards


George

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to