November 21, 200916 yr Author Hey, Where is the screenshon I attached in the first post? I include it again. Does some one has an autopilot whit CWS R? it would be interesting to know hw it works.
November 21, 200916 yr Commercial Member Perhaps your image size is against the rules of AVSIM for size. Ed Wilson Mindstar AviationMy Playland - I69
November 24, 200916 yr Javier, I worked on something like this back in FS02 and found a somewhat workable solution. It requires, after testing, that the complete FS heading hold system be relegated to a background system. Meaning, the H_HOLD & H_SEL buttons, HDG window, HDG_SEL knob and the HSI heading bug/knob all have to be custom coded using L:Vars. I used the following as a bank limiter and a turn commander# but it should also work as CWS-R.# Turn commander = In the 737-400 with certain AP configs if you turned the knob to the left the aircraft would turn left, no matter what.Ex. ATC requested a "left" turn to 010* and I'm on a 000* heading. ( meaning almost a full circle, why?? ) If I turned the knob to the left it will do what ATC requested. Turning the shortest way ( right ) would command a right turn, NOT requested. Using this workaround automatically got rid of the 180* turn indecision by the stock FS AP hdg_hld.Here's the trick/workaround.. It's based on the PID controllers in the aircraft.cfg and/or .air file. What was found is that say, your on a heading of 000* and command a turn to 010*, the aircaraft will bank to 10* at first and decrease linearly until on the commanded heading of 010*. So if I command a turn 10* off the current aircraft heading "continually" the aircraft will stay on a 10* bank. It worked well all the way up to 30* L or R bank IIRC. ( IT WAS LONG, LONG AGO ! LOL! ) Ex.10* offset = 10* bank20* offset = 20* bank30* offset = 30* bank Keep in mind that .air file aircraft.cfg entries in the MAX bank areas and PID controllers probably will affect this action.So in a CWS-R operation I would try this. Monitor yoke x position while in CWS-R, if inside a "null zone" ( centered ) use wing leveler. Any thing outside the null zone use a table, if it acts non-linearly, to command a +/- 1* heading offset all the way up to a max bank offset when the yoke is cranked full L/R. Drive that offset + current heading dnor right into the "background" FS heading system continually as a heading command.Well, that's it in a nutshell. Sorry I donot have any code for you on this,, lost it all :( , except for some of my memory! :( BTW how did you do the CWS-P ? Using a background ALT system? Command the FD bars? Just wondering, I've used both.. Hope this can help,Roman FS RTWR SHRS F-111 JoinFS Little Navmap
November 25, 200916 yr Author Hi Roman!I have been "updating" de HDG mode every time the deifference betwen the current HDG course and the updated one is 90 deg, haven't tought using the bank angle to do this update thanks for the tip. Besides the roll angle is very stable so perhaps activiting and deactivating at the same time could work.The Pitch Hold mode works very well to mantaing the A/C's attitude when the pressure is realesed from the joystick, I tought it was going to be more dificult but it works whit out having to make use of other vertical mode as in the CWS R.Javier
November 26, 200916 yr Author Hi!I had forgotten tha the auptopilot rolls the bank angle proportionally to the distance between A/C's HDG and the HDG selected, now my CWS R makes more stable turns substrating the bank angle to the current HDG and wrinting it to the HDG bug.I forgot to tell you, My CWS P activates ALT HOLD if the joystick is released within 200 feet from the selected altitude, otherwise it activates PITCH HOLD.Javier
November 30, 200916 yr Excellent ! so my memory is not shot. The little trick worked!Glad the hint / observation worked for you.Roman FS RTWR SHRS F-111 JoinFS Little Navmap
November 30, 200916 yr Author Hi there!I was wodering how your CWS systems works now?, are there PITCH and ROLL HOLD for autopilot in FSX?Javier
Create an account or sign in to comment