On Wed, 16 Jul 2003 08:57:19 -0500
"Curtis L. Olson" <[EMAIL PROTECTED]> wrote:

> Bernie Bright writes:
> > > Unfortunately the interface mechanism you are using is not designed to
> > > be high bandwidth.  I believe it runs at 5hz? and only processes one
> > > line/command per iteration.
> > 
> > You could try upping the frequency via the command line,
> > "--props=socket,bi,20,,5500,tcp".  There was a bug where the frequency was
> > always 5Hz regardless of the command line.  Hopefully this was fixed.
> 
> Hi Bernie,
> 
> Another thing that would be helpful would be to process all pending
> commands each time through rather than just the first in the queue.
> How hard would it be to make this change?

Tricky.  We are limited by how plib.net handles line terminators which is
controlled by how often netChannel::poll() is called.

However we could change PropsChannel::foundTerminator() to handle several
commands per line.  Commands could be separated with semicolons.  Or perhaps
some commands could take more than one argument, eg "get /foo/bar /foo/baz".

Cheers,
Bernie

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

Reply via email to