• Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum

LVAR For yoke trim rocker

Scheduled Pinned Locked Moved Piston & Turbine Dukes
7 Posts 3 Posters 323 Views
    • 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.
  • B Offline
    B Offline
    bjratchf
    wrote on last edited by
    #1

    Of course, ELEV_TRIM_UP/DN works just fine, it simulates turning the physical wheel. However I want to link my rocker on my hardware yoke to the pitch trim rocker, which should not work when "pitch trim" is switched off... is there a special LVAR for that?

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

    @bjratchf yes. The code that the aircraft uses for the trim rocker looks similar to this:

    8 (>A:BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:52, Bool) (A:ELECTRICAL MAIN BUS VOLTAGE:8, Volts) 12 > and
    (L:var_PitchTrimPower, bool) and if{
    (A:ELEVATOR TRIM PCT, Percent) 163.83 * 32 + 16383 min -16383 max (>K:ELEVATOR_TRIM_SET)
    }
    

    Bind this to a repeating button. You can adjust that number 32 in there for the speed of the trim movement, and make it negative to move the trim down.
    Tested with Grand Duke variant.

    If you use AxisAndOhs, I shared some templates here, including trims:
    https://gitlab.com/randolf.lemmont/fs-bksq-duke-mods

    1 Reply Last reply
    0
  • B Offline
    B Offline
    bjratchf
    wrote on last edited by
    #3

    Thank you for your help! I think this is a bit over my head however- I do use AAO but when I imported your template into the turbine duke, the trim ran away to full nose up... I'm going to try to figure out how to turn it into an easy script to assign to a push button (my yoke trim rocker)

    1 Reply Last reply
    0
  • B Offline
    B Offline
    bjratchf
    wrote on last edited by
    #4

    Oh wait... I figured out- I had to merge the template with what I had presently, and then assign a button afterward. It works now!

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

    @bjratchf you may need to rebind the actions from the template to buttons of your choice, as you most likely have different controller than I do. It probably got assigned to an always pressed or noisy button.

    B 1 Reply Last reply
    0
  • B Offline
    B Offline
    bjratchf
    replied to Randolf on last edited by
    #6

    @Randolf you were right- it kept getting bound to my yoke. In any case, 32 seems to be the right speed in the turbine duke- after some testing in smooth air and config changes. Thank you very much!

    1 Reply Last reply
    0
  • Lestat11L Offline
    Lestat11L Offline
    Lestat11
    wrote on last edited by
    #7

    dose any one know what the setting would be in spad.next

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

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