Re: [Flightgear-devel] Flaps and landing gear extend and retract with no power? OK to add voltage checks?

2006-03-06 Thread AJ MacLeod
On Sunday 05 March 2006 00:41, Dave Perry wrote: I would like to add a voltage check before moving the flaps or landing gear in data/Nasal/controls.nas. The proposed changes are underlined. snipped proposed new flapsDown etc Since the pa24-250 configs and nasal switches check for voltage for

Re: [Flightgear-devel] Flaps and landing gear extend and retract with no power? OK to add voltage checks?

2006-03-06 Thread David Megginson
On 04/03/06, Dave Perry [EMAIL PROTECTED] wrote: I would like to add a voltage check before moving the flaps or landing gear in data/Nasal/controls.nas. My Warrior has manual flaps activated by a giant metal bar between the seats, similar to a parking brake in a car -- I think that's true of

Re: [Flightgear-devel] Flaps and landing gear extend and retract with no power? OK to add voltage checks?

2006-03-06 Thread Dave Perry
AJ MacLeod wrote: On Sunday 05 March 2006 00:41, Dave Perry wrote: I would like to add a voltage check before moving the flaps or landing gear in data/Nasal/controls.nas. The proposed changes are underlined. snipped proposed new flapsDown etc Since the pa24-250 configs and nasal

[Flightgear-devel] Flaps and landing gear extend and retract with no power? OK to add voltage checks?

2006-03-05 Thread Dave Perry
I would like to add a voltage check before moving the flaps or landing gear in data/Nasal/controls.nas. The proposed changes are underlined. flapsDown = func { if(arg[0] == 0) { return; } _if(getprop(/systems/electrical/outputs/flaps) 8.0) {return; } # Dave Perry added a check for

Re: [Flightgear-devel] Flaps and landing gear extend and retract with no power? OK to add voltage checks?

2006-03-05 Thread Curtis L. Olson
Dave Perry wrote: I would like to add a voltage check before moving the flaps or landing gear in data/Nasal/controls.nas. The proposed changes are underlined. flapsDown = func { if(arg[0] == 0) { return; } _if(getprop(/systems/electrical/outputs/flaps) 8.0) {return; } # Dave Perry

Re: [Flightgear-devel] Flaps and landing gear extend and retract with no power? OK to add voltage checks?

2006-03-05 Thread Andy Ross
Dave Perry wrote: I would like to add a voltage check before moving the flaps or landing gear in data/Nasal/controls.nas. The proposed changes are underlined. Adding aircraft-specific code to the generic control mappings is a bad idea; that file is for Nasal code that is globally useful for