Robertto,

Another way is to drop a Microchip Pic in your com box, if you use one of
the smaller 18f 40 pin versions you have heaps of analog and bidirectional
digital io pins, and  construction wise you only need add an xtal and an
rs232 or Ethernet chip to the Pic. Power it with 5v from your pc supply if
you like. Easy to breadbord with off the shelf matrix board and wire wrap
wire.

You can code it in C and knock up (clone) a custom io routine to compile
into FG which reads and writes direct to the property tree and  talk to it
on serial or network.

I run my sim hardware which is all genuine gutted radios and Boeing panels
etc with pics in this way.

You are welcome to my source code for the FG IO and the pics. You will need
to complie FG, and the pic xcompiler is windows based not linux but seems to
run ok in an emulator ok.

Harry







On Sat, Apr 2, 2011 at 12:11 AM, Gene Buckle <ge...@deltasoft.com> wrote:

> On Fri, 1 Apr 2011, Roberto Inzerillo 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.
> >
> >
> > Actually ... there is, I kinda like the idea of building my own hardware
> > Yoke and Pedals, and not use any plastic toy at all. You know, just for
> > fun, no need, out of curiosity :-)
> >
> Oh sure, I completely understand that!  What I was saying though is that
> you're going to be much better off using the built-in joystick support of
> both FG and your host OS for your primary flight controls.  Using
> something like Leo Bodnar's joystick interface would be a good start.  I
> think it does work with Linux & MacOS as well as Windows.
>
> For everything else the Arduino is a great choice, especially if you
> really crank up the baud rate on it.  I would recommend at least
> 250kbits/sec.   If you're using Windows, you can use the PPJoy driver in
> order to create as many virtual joysticks as you like using the Arduino -
> that's one of the side projects I'm working on right now.  Nothing like
> using a MUX Shield for all the analogs you need! (it supports 48 10 bit
> analog channels)
>
> Standard controls like the radio stack, flaps, etc. are "slow" controls
> that would be perfectly suited to using the telnet interface.  You're
> quite correct in that the telnet interface isn't going to be up to the job
> for the primary flight controls.
>
> g.
>
> --
> Proud owner of F-15C 80-0007
> http://www.f15sim.com - The only one of its kind.
> http://www.simpits.org/geneb - The Me-109F/X Project
>
> ScarletDME - The red hot Data Management Environment
> A Multi-Value database for the masses, not the classes.
> http://www.scarletdme.org - Get it _today_!
>
> Political correctness is a doctrine, fostered by a delusional, illogical
> minority, and rabidly promoted by an unscrupulous mainstream media, which
> holds forth the proposition that it is entirely possible to pick up a turd
> by the clean end.
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 
Regards Harry

19b Jln Danau Poso
Sanur, Bali
80228

H +62 361 285629
M +62 812 7016328
------------------------------------------------------------------------------
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