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

Pitch Knob

Scheduled Pinned Locked Moved Piston & Turbine Dukes
3 Posts 2 Posters 230 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.
  • Lestat11L Offline
    Lestat11L Offline
    Lestat11
    wrote on last edited by
    #1

    when turning on att i notice the pitch knob adjusts its self back to the centre i take this is for level flight
    I am trying to replicate this when pressing a button on my bravo using spad.next and the pms50 750Screenshot 2024-05-15 150004.png
    This is what i have at the min and the pitchknob -1.3 gets it close but not quite right
    watching the settings its a diffract value every time when the button is pressed in the sim

    is there a better way of doing this?

    1 Reply Last reply
    0
  • Black SquareB Offline
    Black SquareB Offline
    Black Square Black Square Developer
    wrote on last edited by
    #2

    Here's the code that does it in the aircraft:

    (A:PLANE PITCH DEGREES, degrees)
    @MaxAutopilotPitch min @MaxAutopilotPitch neg max 
    (>L:var_AP_PitchKnob, number)
    

    The middle line is to clamp the value within the minimum and maximum possible values for the autopilot. Otherwise, it's just setting the knob to the current pitch of the aircraft, rather than a static number which will never be the same for all operating conditions. I hope that helps!

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

    Thank you for that
    Will have to ask over on spad if there is a way for me to use that

    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