On Monday, 28 February 2011 10:54:56 UTC-5, Robi wrote:
> Hi everybody,
> I'm totally new to Python but well motivated :-)
>
> I'm fooling around with Python in order to interface with FlightGear
> using a telnet connection.
>
> I can do what I had in mind (send some commands and read output fr
> > My conclusion being, fgfs cannot answer back quicker than this: 20Hz.
>
> I suspect that is by design, so as to not interfere with the simulation
> itself.
Actually it's not quite like that.
I talked about it in flightgear-devel mailing list; I was told FGFS
default telnet polling frequency i
On 2/28/2011 3:46 PM, Robi wrote:
unless using it just to get/set configuration,
in which case, speed should hardly seem an issue.
Right, I'm using it that way, I get/set properties changing them in
real time (I whish!).
...
My conclusion being, fgfs cannot answer back quicker than this: 20H
> Given that FlightGear is a graphical flight
> simulatorhttp://www.flightgear.org/https://secure.wikimedia.org/wikipedia/en/wiki/FlightGear
> using a text terminal connection seems a bit odd,
> unless using it just to get/set configuration,
> in which case, speed should hardly seem an issue.
Rig
On 2/28/2011 10:54 AM, Robi wrote:
Hi everybody,
I'm totally new to Python but well motivated :-)
I'm fooling around with Python in order to interface with FlightGear
using a telnet connection.
Given that FlightGear is a graphical flight simulator
http://www.flightgear.org/
https://secure.wi
On 28 Feb, 18:35, Jack Diederich wrote:
> On Mon, Feb 28, 2011 at 12:13 PM, Roberto Inzerillo
>
> wrote:
> > Yes. read_eager() will never actually read from the socket, if it has
>
> >> any data it has already read & processed it will return those. If you
> >> call it enough times it will just s
On Mon, Feb 28, 2011 at 12:13 PM, Roberto Inzerillo
wrote:
> Yes. read_eager() will never actually read from the socket, if it has
>>
>> any data it has already read & processed it will return those. If you
>> call it enough times it will just start returning empty strings
>> because it never ask
Can you point me to a pratical usage example of read_eager()? Maybe
that will help me in making all this clear. I'm still very fuzzy about
the socket and the processing stuff.
I'm still convinced I cannot use read_until() in my project and I'm
determined in looking into the read_eager(), maybe tha
On Mon, Feb 28, 2011 at 11:50 AM, Robi wrote:
>> Telnet sends two kinds of data over the same channel (a simple TCP
>> stream). It sends the bytes you actually see in your terminal and it
>> sends control commands that do things like turn echo on/off and
>> negotiate what terminal type to use. E
> Telnet sends two kinds of data over the same channel (a simple TCP
> stream). It sends the bytes you actually see in your terminal and it
> sends control commands that do things like turn echo on/off and
> negotiate what terminal type to use. Each time telnetlib reads from
> the socket it puts
On Mon, Feb 28, 2011 at 10:54 AM, Robi wrote:
> Hi everybody,
> I'm totally new to Python but well motivated :-)
>
> I'm fooling around with Python in order to interface with FlightGear
> using a telnet connection.
>
> I can do what I had in mind (send some commands and read output from
> Flightg
11 matches
Mail list logo