Can't engage/use CWS
-
@Randolf - sorry to tell you that didn’t work at all … I couldn’t even make the autopilot stay engaged at any point, regardless of the CWS button, not even by hitting the button on the autopilot itself. When I’d release the button, it would engage the autopilot for a fraction of a second and then immediately turn it off again. I’ll go back to the previous script for now, which at least allowed the AP to be used. 😊
-
This post is deleted!
-
@ExcessionOCP here you can find my AAO templates for the Duke. The CWS button is part of the AP template. You can selectively apply parts of the templates if you don't want the extra stuff and if you're not using HC Bravo throttles, you can rebind your own buttons there.
https://gitlab.com/randolf.lemmont/fs-bksq-duke-mods -
@Randolf Thanks! I do have the HC Alpha and Bravo so I think I'll be using most of this! One last question though, I guess the script defines the behaviour of the CWS when it's triggered, but I just wanted to check - do you still have to map a hardware control to the CWS part of the script in order to trigger it?
-
@ExcessionOCP not sure what you mean, but my CWS script implements custom (experimental) behavior that is different from the switch in the virtual cockpit. It has to be triggered for example by button binding. Check the binding for it included in the template. It calls the script with parameter 1 on press and 0 on release.
-
@Randolf Cool, thanks for that - I'm totally new to A&O so apologies for my probably stupid questions :-) I'll have a read through the scripts later (I'm an IT infrastructure engineer so am familiar with scripting) and will hopefully work out what's going on!
-
@Randolf Hi Randolf, thanks for your help with this! I have got (pretty much!) everything working, with the exception of if I select VS on the HC Bravo left hand dial, and then vary the pitch, the altitude on my Altitude Preselector also changes. This doesn't happen with any of the other modes of the left hand dial (HDG, CRS etc), only when it's in the VS position - what have I done wrong?
-
@ExcessionOCP that should not happen, please check if you have any other bindings for the right rotary dial, maybe native in-sim control bindings? It looks as something else than my script is sending the PLUS/MINUS events there.
-
@ExcessionOCP these are the two binding you need for the right dial, make sure, there are no other:
-
@ExcessionOCP sorry for the spam, this is the last one :)
This should be bound for the VS position of the left dial: -
@Randolf Absolutely no apologies needed! Your guidance is truly appreciated - and it's definitely not spam :-)
The issue was, as you suggested, vestigial config left over in the sim controls - I thought I had unbound everything but it turns out I'd forgotten about the right hand dial! Thanks again :)
-
Hi All,
I just wanted to let you know what I've done about this for the next update.
There will be a new option in the tablet called "Control AP Pitch with Hardware Events". When it is selected, you can use K:AP_PITCH_REF_SET, K:AP_PITCH_REF_INC_UP, and K:AP_PITCH_REF_INC_DN to control the autopilot pitch. The knob in the cockpit will synchronize with this value. The only caveat is that these events don't seem to obey the maximum autopilot pitch value that is set in the aircraft configuration files. This means that you might want to limit this input on your end, but it's also not a necessity.
I also figured out how to add pitch CWS functionality, and propagated it back to all of my aircraft. You can now either use the virtual CWS buttons, L:var_PilotCws, L:var_CoPilotCws, or K:SYNC_FLIGHT_DIRECTOR_PITCH to momentarily disable the autopilot pitch servo and set the pitch that you want. The caveat with this one is just that you have to use the L:Vars when you're not using the "Control AP Pitch with Hardware Events" tablet option.
I hope that makes my users happy! I have to admit that I'm quite enjoying the CWS functionality in this particular aircraft, and I hope you will too!
-
@Black-Square said in Can't engage/use CWS:
I hope that makes my users happy! I have to admit that I'm quite enjoying the CWS functionality in this particular aircraft, and I hope you will too!
Indeed! After getting the FSUIPC7 version of the macro script from @Randolf, I’m using that button all the time now, to the point that I wonder how I’d ever lived without it in other aircraft. Once you release the update, I’m wondering if there will be a motivating reason or even a requirement for me to change that.