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