]> git.mxchange.org Git - flightgear.git/commit
First stab at a "named pipe" interface to an external FDM. Compared to the
authorcurt <curt>
Mon, 3 Mar 2003 04:30:16 +0000 (04:30 +0000)
committercurt <curt>
Mon, 3 Mar 2003 04:30:16 +0000 (04:30 +0000)
commitcc269730a5849209dce6e5c12306900ff50b297a
tree8e695eb96459dc2c2fc82a7395462bc0778372f7
parent648f1208f83e26ba3ac225a46a61c747e101f29d
First stab at a "named pipe" interface to an external FDM.  Compared to the
ExternalNet interface:

- allows a much more closely coupled execution.  A remote network FDM will run
  at it's own rate, and maybe a particular data packets will come, maybe it
  won't.  This makes it very hard to control timing and keep the animation
  smooth.  There are also cpu scheduling issues with running multiple
  processes on a single machine.  The linux scheduler by default runs at
  100hz.  If an FDM process uses a sleep/alarm system to avoid wasting
  CPU, it will be forced to run at 100hz, 50hz, 25hz, 20hz, etc.  This
  makes it *impossible* to serve a display system running at 60hz without
  dropping frames.

- the downside is that the FDM process must now run on the same machine as
  the master flightgear process.
src/FDM/ExternalPipe/ExternalPipe.cxx [new file with mode: 0644]
src/FDM/ExternalPipe/ExternalPipe.hxx [new file with mode: 0644]
src/FDM/ExternalPipe/Makefile.am [new file with mode: 0644]