Re: [Flightgear-devel] Telnet lag?

2011-02-28 Thread George Patterson
On Mon, Feb 28, 2011 at 9:05 PM, Roberto Inzerillo rob...@gmx.net wrote:   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

[Flightgear-devel] Telnet lag?

2011-02-27 Thread Roberto Inzerillo
Hi everybody, I'm fooling around with Arduino and FGFS, in order to create a few physical instruments. Since I felt like using an intermediate piece of software that manages data transfers between Arduino and FGFS (Instead of connecting them directly one to the other) and every crazy thing

Re: [Flightgear-devel] Telnet lag?

2011-02-27 Thread Geoff McLane
On Sun, 2011-02-27 at 14:06 +0100, Roberto Inzerillo wrote: Hi everybody, I'm fooling around with Arduino and FGFS, in order to create a few physical instruments. Since I felt like using an intermediate piece of software that manages data transfers between Arduino and FGFS (Instead of

Re: [Flightgear-devel] Telnet lag?

2011-02-27 Thread Gene Buckle
On Sun, 27 Feb 2011, Roberto Inzerillo wrote: Hi everybody, I'm fooling around with Arduino and FGFS, in order to create a few physical instruments. Very cool Roberto! Don't forget to get yourself a Centipede Shield or two. They're $20 each and give you 64 i/o channels each. Since I

Re: [Flightgear-devel] Telnet lag?

2011-02-27 Thread ThorstenB
On 27.02.2011 15:48, Geoff McLane wrote: On Sun, 2011-02-27 at 14:06 +0100, Roberto Inzerillo wrote: Well, it works ... but the telnet connection is very slow and that slows down every intercation, it makes it far less than realtime I quickly added some 'timing' to my telnet access, through a

Re: [Flightgear-devel] Telnet lag?

2011-02-27 Thread Geoff McLane
On Sun, 2011-02-27 at 16:41 +0100, ThorstenB wrote: fgfs . --telnet=foo,bar,100,foo,,bar Hi Thorsten, Absolute genius ;=)) Should have looked at the source myself before belching... Now have :- OVER LAN: WIN32 - Ubuntu 39 accesses 0.835 secs, 0.0214 secs per access 39 accesses

Re: [Flightgear-devel] Telnet lag?

2011-02-27 Thread Roberto Inzerillo
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

Re: [Flightgear-devel] Telnet lag?

2011-02-27 Thread George Patterson
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