Forum Replies Created
-
AuthorPosts
-
The max_bank entries in aircraft.cfg do not affect the banking function, btw. They are only used by the stock wing leveler. Sorry.
It limits the bank angle during turns when in HDG HOLD mode. And my solution to the problem was based on an invisible HDG HOLD mode.
AFAIK the automatic disconnect due to G max/min, stick movement or excessive bank angles will disengage all autopilot modes – although the system will still be energized unless the reason was a power failure.
Funny that SAAB never revised that. They must have known about the operations policy regarding DÄMPN as the standard mode…
Okay. I’m curious what your solution will look like.
By the way: If you force-disconnect the AP, shouldn’t it revert to DÄMPN mode?
At the moment, it just disconnects and you have to manually re-engage DÄMPN.One thing I forgot to implement was that the bank selector automatically reverts to zero (neutral) if the AP is disconnected.
So did you have time to try the fix yet, Tom? Does it conflict with any other AP modes?
Update:
The J35 is at the moment flying circle after circle at a bank angle of 30°. Nearly there…I’ll upload the changed .xml files once I get the last hitch worked out of the code.
Don’t worry about licenses. Put my name down somewhere and buy me a Stark Öl the next time I’m in Sweden.Firefox 34.0 here.
(L:SomethingSomething,bool) ! if{ (>L:SomethingDifferent,enum) }
– Edit: Nope, no joy.
– Edit²: Oh dear, the code tags here aren’t the familiar [code] ones…ID10T error. Sorry!
Update:
I’ve managed to implement a generic “fly in circles banked to the left/right unless told otherwise” function.
The only thing left to do is trying to get FSX’ “limit max bank angle” function to work.(Sorry for the spam, but you can’t edit posts anymore after 15 minutes or so.)
Well, there’s no conflict with other AP functions, but the bank angle limiter does not work. The Draken will bank until it flips over.
I’m trying to rewrite the bank hold code to see if I can make it work properly.
If this won’t work, I’ll try a different solution based on a fake HDG hold function and FSX’ bank limiter function.
The “code” tags didn’t work somehow, by the way. I otherwise wouldn’t have used the quote tags.
I think I’ve fixed it.
Tom (and anyone else willing to edit .xml files):
In styraut.xml, add the following lines above “(A:PLANE BANK DEGREES,degrees) 180 >”:
[quote] (L:AutoBankSet,number) 0 !=
if{ (>K:AP_WING_LEVELER_OFF) }[/quote]In styraut_panel_vc.xml, add the following behind “0 (>L:AutoBankSet,number)”:
[quote](>K:AP_WING_LEVELER_ON)[/quote]This basically disengages the wing leveler submode of FSX’ attitude hold whenever the SVANG knob is not centered and reengages it when the knob is recentered.
Thanks for the bugfix!
It might have also (somehow) fixed the “HYD II” that was still illuminated after start-up. And an erratical fuel level readout.
-
AuthorPosts