On Saturday 21 November 2009 03:14:35 pm Nicola Quargentan wrote: > Hal V. Engel ha scritto: > > On Thursday 19 November 2009 04:59:28 pm Nicola Quargentan wrote: > > cut... > > >> I will also build some knobs (like obs) to manage vor and adf: I want to > >> use a Microchip pic whit some A/D converter (12bit) and an USB port. > >> > >> Has anyone tried the products of Saitek? > >> Where I can find some documentation about my project? > >> > >> Thanks and sorry for my english. > > > > You might consider using a joystick controller board like the ones here: > > > > http://www.lbodnar.dsl.pipex.com/ > > Thanks for the information, this gadget is pretty cool :) > > > These are inexpensive and allow for numerous analog inputs as well as > > many buttons/switches. In addition binary encoders are also supported > > (these would work nicely for the frequency control on a radio). You > > should be able to use these to create things like a radio panels, trim > > wheels, flap controls, switch panels and other controls for your custom > > cockpit. You can use more than one and no special drivers are needed > > (these are HID/USB joystick devices that work with off the self drivers). > > So once you have something setup (like a radio stack) you would > > interface it to flightgear just like you do with a normal joystick. > > Uhmm, I'm not sure how to operate the obs or adjust the nav frequency. > Inside the XML files (like joystick) I haven't found anything that > commands a knob of the radio. Do you know where I can find more complete > documentation about this, or some examples?
I don't think it would be that hard. I suspect that you might need to write a nasal script to handle it and in that script you would manipulate the properties for the radio as the control was manipulated. There are some joystick XML files that have nasal script in them to do other types of things so you should be able to find some examples that will at least give you some clues about how to go about it. It is easy to change various properties inside a nasal script. Also I think there are likely others here that would be able to point you toward examples that are a closer fit to what you want to do. > > > Also you might want to have a look at: > > > > http://www.simkits.com/ > > > > They have USB driven instruments and if you ask them they will send you > > interface documentation. I have gotten a copy of the docs and it looks > > like these devices would be very simple to interface to flightgear. But > > it would require writing some code to make it work. The down side is > > that these devices are not cheap and by the time you have a full > > complement for a complete cockpit you would have spent a considerable > > amount. > > I had already seen these objects, but as you say are really expensive if > one wants to give a complete cockpit :O > > Thanks for your answer. > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users