On Fri, 1 Apr 2011 06:29:52 -0700 (PDT), Gene wrote in message 
<alpine.lfd.2.00.1104010622240.22...@grumble.deltasoft.com>:

> On Fri, 1 Apr 2011, Curtis Olson wrote:
> 
> > On Fri, Apr 1, 2011 at 8:12 AM, Gene Buckle <ge...@deltasoft.com>
> > wrote:
> >
> >> What could you possibly be sending via telnet that would require
> >> "performance"?  Seriously, the _only_ time you should be sending
> >> data TO the simulator is if a control state changed.  I seriously
> >> doubt it's physically possible for you to fiddle with enough
> >> switches & knobs simultaneously to overload the ability of the
> >> telnet interface to process the events.  If you're trying to use
> >> the telnet interface for pitch/roll/yaw/throttle inputs, then
> >> yeah, that would be a Bad Idea(tm) - FG has good built-in joystick
> >> handling and you shouldn't try to handle that externally unless
> >> there is some kind of compelling reason to do so.
> >
> >
> > In the default configuration, the telnet module services incoming
> > connections at 5hz.  So in most cases the issue is probably more of
> > latency than bandwidth.  But if you spin a knob, you could hit
> > bandwidth issues too. Latency is probably the biggest problem.
> > Even if everything is running at 30 hz, requiring 1 frame to
> > process the input, and then a 2nd frame to send the data back out
> > to a physical display (like a physical radio stack with real
> > 7-segment displays) will end up feeling a bit laggy and not quite
> > as crisp as you'd like.
> 
> Ahh, ok.  The way I'd set it up was running the udp data pump at 30Hz

..how much faster than the frame rate do we need to go, 
"to always be ready for the next frame"?

> and I never noticed any kind of latency.  Then again, I was
> explicitly setting values when I was sending data as opposed to the
> "send freq-up, let fg figure it out" method.
> 
> Because this isn't a real-time system, you really don't want to put
> any more load on the simulator computer than you really have to. :)

..do we have RT facilities in FG now?  (RT as in "forget that 
too late frame, do the next one", not necessarily "real RT".)  

-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to