Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. Piston & Turbine Dukes
  6. Binding Duke Autopilot trim to Honeycomb Alpha/Bravo

Binding Duke Autopilot trim to Honeycomb Alpha/Bravo

Scheduled Pinned Locked Moved Piston & Turbine Dukes
14 Posts 6 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SteveH445719
    wrote on last edited by
    #1

    I'm trying to bind Century autopilot trim to Alpha/Bravo, any thoughts without having to build extensive Lvar to do it?
    Thanks in advance

    1 Reply Last reply
    0
    • J Online
      J Online
      JetNoise
      wrote on last edited by JetNoise
      #2

      SPAD.neXt_EfkryUpfXY.png

      SPAD.neXt_upcXrZnZtB.png

      1 Reply Last reply
      0
      • J Online
        J Online
        JetNoise
        wrote on last edited by JetNoise
        #3

        My solution for now, works great imo

        Second pic is the detail for "Button held" with limits -15 +15 as per manual

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SteveH445719
          wrote on last edited by
          #4

          Ok, thanks JetNoise, I have a copy of SPADNext, but it's about a year and a half years old, v9.12.123, will that work?

          1 Reply Last reply
          0
          • B Offline
            B Offline
            brodsky
            wrote on last edited by
            #5

            Was anybody able to come up with a way to do this in Axis and Ohs? I've been trying all day with little luck.

            RandolfR 2 Replies Last reply
            0
            • B brodsky

              Was anybody able to come up with a way to do this in Axis and Ohs? I've been trying all day with little luck.

              RandolfR Offline
              RandolfR Offline
              Randolf
              wrote on last edited by Randolf
              #6

              @brodsky I think in AAO you'll have to create a script to in/de-crease the Lvar value on each press. Mine looks like this:

              (L:var_AP_PitchKnob, number) 0.5 (L:Duke-APPitch) * - 15 min -15 max (>L:var_AP_PitchKnob, number)

              And I saved it in group Duke, called APPitch (the (L:Duke-APPitch) is the parameter value passed to the script that you get with the button Insert script var).
              Then I create two button bindings, one with value 1 and one with -1 to increase or decrease the value. Looks something like this
              87107972-ab58-4d54-9f89-bc0a971b4649-image.png

              Then I even managed to get it working with the rotary knob on the HC Bravo, when VS is selected on the left knob. I can elaborate on that if anyone's interested.

              J 1 Reply Last reply
              0
              • B brodsky

                Was anybody able to come up with a way to do this in Axis and Ohs? I've been trying all day with little luck.

                RandolfR Offline
                RandolfR Offline
                Randolf
                wrote on last edited by
                #7

                @brodsky Actually, for this simple case, it can be done more easily using axis assignment, as described here: https://www.avsim.com/forums/topic/644693-need-help-assigning-lvar/

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  MatzeH84
                  wrote on last edited by
                  #8

                  Anybody knows how to do that in FSUIPC?

                  RandolfR 1 Reply Last reply
                  0
                  • M MatzeH84

                    Anybody knows how to do that in FSUIPC?

                    RandolfR Offline
                    RandolfR Offline
                    Randolf
                    wrote on last edited by
                    #9

                    @MatzeH84 you can use Lvars in FSUIPC like I described here.

                    just replace the lines with something like this:

                    DukeAPPitchInc#(L:var_AP_PitchKnob, number) 0.5 + 15 min (>L:var_AP_PitchKnob, number)
                    DukeAPPitchDec#(L:var_AP_PitchKnob, number) 0.5 - -15 max (>L:var_AP_PitchKnob, number)

                    M 1 Reply Last reply
                    0
                    • RandolfR Randolf

                      @brodsky I think in AAO you'll have to create a script to in/de-crease the Lvar value on each press. Mine looks like this:

                      (L:var_AP_PitchKnob, number) 0.5 (L:Duke-APPitch) * - 15 min -15 max (>L:var_AP_PitchKnob, number)

                      And I saved it in group Duke, called APPitch (the (L:Duke-APPitch) is the parameter value passed to the script that you get with the button Insert script var).
                      Then I create two button bindings, one with value 1 and one with -1 to increase or decrease the value. Looks something like this
                      87107972-ab58-4d54-9f89-bc0a971b4649-image.png

                      Then I even managed to get it working with the rotary knob on the HC Bravo, when VS is selected on the left knob. I can elaborate on that if anyone's interested.

                      J Offline
                      J Offline
                      Jamie G
                      wrote on last edited by
                      #10

                      @Randolf Hi Randolf, i just registered on the forums after reading this, you've managed to do exactly what i'm looking for, and i'd be really grateful if you could please run me through the steps to get the pitch trim functioning with only VS selected. So far i have it working, but it functions with every selection on the left hand knob. My assigned buttons are also 12 and 13...i notice (one of) yours is 14.

                      I'm pretty much an AAO beginner and am working it out as i go, so apologies for mentioning anything that is probably very obvious.

                      Thanks

                      RandolfR 1 Reply Last reply
                      1
                      • J Jamie G

                        @Randolf Hi Randolf, i just registered on the forums after reading this, you've managed to do exactly what i'm looking for, and i'd be really grateful if you could please run me through the steps to get the pitch trim functioning with only VS selected. So far i have it working, but it functions with every selection on the left hand knob. My assigned buttons are also 12 and 13...i notice (one of) yours is 14.

                        I'm pretty much an AAO beginner and am working it out as i go, so apologies for mentioning anything that is probably very obvious.

                        Thanks

                        RandolfR Offline
                        RandolfR Offline
                        Randolf
                        wrote on last edited by Randolf
                        #11

                        @Jamie-G I exported an AAO template with scripts and bindings for the Duke (tested with Grand Duke piston version) for the autopilot buttons of the HC Bravo. It includes all of the autopilot related buttons and knobs in the top row of the Bravo (except IAS), make sure you don't have them already bound, to avoid conflicts.

                        In addition to button bindings (which you may have to replace with your controller, not sure how the bindings are exported) it includes two scripts in group Duke:
                        PlusMinus - bound to the right rotary knob, sends either the standard PLUS/MINUS events, or when VS selected, adjusts AP pitch instead.
                        SelectPitch - bound to the VS position of the left knob with parameter 1 on press and 0 on releease.

                        EDIT: I shared more AAO templates and will keep updating them here:
                        https://gitlab.com/randolf.lemmont/fs-bksq-duke-mods

                        You can import the template (in the Templates menu), it will be named Duke Bravo AP and then apply it to your aircraft configuration.
                        Let me know if it works, I've never made a template export before :)

                        J 1 Reply Last reply
                        2
                        • RandolfR Randolf

                          @Jamie-G I exported an AAO template with scripts and bindings for the Duke (tested with Grand Duke piston version) for the autopilot buttons of the HC Bravo. It includes all of the autopilot related buttons and knobs in the top row of the Bravo (except IAS), make sure you don't have them already bound, to avoid conflicts.

                          In addition to button bindings (which you may have to replace with your controller, not sure how the bindings are exported) it includes two scripts in group Duke:
                          PlusMinus - bound to the right rotary knob, sends either the standard PLUS/MINUS events, or when VS selected, adjusts AP pitch instead.
                          SelectPitch - bound to the VS position of the left knob with parameter 1 on press and 0 on releease.

                          EDIT: I shared more AAO templates and will keep updating them here:
                          https://gitlab.com/randolf.lemmont/fs-bksq-duke-mods

                          You can import the template (in the Templates menu), it will be named Duke Bravo AP and then apply it to your aircraft configuration.
                          Let me know if it works, I've never made a template export before :)

                          J Offline
                          J Offline
                          Jamie G
                          wrote on last edited by
                          #12

                          @Randolf Randolf, thank you so much for doing this! And for the really quick response. Its folks like you that makes these kind of communities :) So i've taken what you've done, made my own duplicate template and kind of just used the bits i need. Its good because it also helps me learn how to do it too. Seems to be functioning perfectly so far.

                          Thanks once again mate, you are a legend!

                          Jamie

                          1 Reply Last reply
                          1
                          • RandolfR Offline
                            RandolfR Offline
                            Randolf
                            wrote on last edited by
                            #13

                            Just to update, I shared some AAO templates, including update of the one posted above, and some other stuff, here:
                            https://gitlab.com/randolf.lemmont/fs-bksq-duke-mods

                            Will also keep updating, when I add something new. For example I'm working on additional state-saving of variables not saved by the plane, using AAO scripts. Seems like fun.

                            1 Reply Last reply
                            1
                            • RandolfR Randolf

                              @MatzeH84 you can use Lvars in FSUIPC like I described here.

                              just replace the lines with something like this:

                              DukeAPPitchInc#(L:var_AP_PitchKnob, number) 0.5 + 15 min (>L:var_AP_PitchKnob, number)
                              DukeAPPitchDec#(L:var_AP_PitchKnob, number) 0.5 - -15 max (>L:var_AP_PitchKnob, number)

                              M Offline
                              M Offline
                              MatzeH84
                              wrote on last edited by
                              #14

                              @Randolf worked perfectly, many thanks!

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users