Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. PA-28R Arrow III
  5. Autopilot swaying left and right of track

Autopilot swaying left and right of track

Scheduled Pinned Locked Moved PA-28R Arrow III
20 Posts 9 Posters 3.3k Views 3 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.
  • RetiredMan93231R RetiredMan93231

    Replacing the entire AI.CFG file with the one from the G36 seems to also work well...

    And, making the following changes to the AI.CFG file will smooth out the Heading Hold and Altitude Hold...

    headingPID = 1.0, 0.01, 1.0, 0.2, 1.0
    verticalSpeedPID = 1.0, 0.05, 0.2, 300.0,1000.0

    C Offline
    C Offline
    copper
    wrote on last edited by
    #10

    @RetiredMan93231 So the "smooth" heading hold means that it will also no longer be swaying left and right?
    Then I'd use your parameters instead of the G36 ones since those don't fix the vibration of Altitude Hold unfortunately.

    RetiredMan93231R 1 Reply Last reply
    0
    • C copper

      @RetiredMan93231 So the "smooth" heading hold means that it will also no longer be swaying left and right?
      Then I'd use your parameters instead of the G36 ones since those don't fix the vibration of Altitude Hold unfortunately.

      RetiredMan93231R Offline
      RetiredMan93231R Offline
      RetiredMan93231
      wrote on last edited by RetiredMan93231
      #11

      @copper said in Autopilot swaying left and right of track:

      @RetiredMan93231 So the "smooth" heading hold means that it will also no longer be swaying left and right?
      Then I'd use your parameters instead of the G36 ones since those don't fix the vibration of Altitude Hold unfortunately.

      I recommend doing both, because the G36 AI.CFG fixes the VOR/LOC tracking... Start with the G36 file, then add my additional fixes to the G36 file.

      I don't see any pitch vibration after making these changes, but if you still have pitch vibration, you can also try adding this @weptburrito fix to the pitchPID parameters... https://community.justflight.com/post/8010

      1 Reply Last reply
      0
      • C copper

        @RetiredMan93231 said in Autopilot swaying left and right of track:

        @copper, can you post the changes you made to correct this issue?

        Sure:
        Go to the ai.cfg of the G36:

        Official\OneStore\asobo-aircraft-bonanza-g36\SimObjects\Airplanes\Asobo_Bonanza_G36\ai.cfg

        and copy the whole [STICKANDRUDDER] section (all the lines below it) from there and paste it into the ai.cfg of the addon:

        Community\justflight-aircraft-pa28-arrow-iii\SimObjects\Airplanes\JF_PA28_Arrow\ai.cfg

        replacing the [STICKANDRUDDER] section there.

        I did not notice any negative side effects during numerous flights. I cannot judge if the behavior of the autopilot is now realistic or not, but I basically just need it to follow whatever I set it up to and that works fine.

        K Offline
        K Offline
        KMan
        wrote on last edited by
        #12

        @copper Thanks for the tips this morning. Have made the changes and are looking forward to the improvements.

        Happy flying...

        1 Reply Last reply
        1
        • RetiredMan93231R Offline
          RetiredMan93231R Offline
          RetiredMan93231
          wrote on last edited by
          #13

          Here are some additional recommended changes that will further improve the autopilot performance...

          ai.cfg

          [STICKANDRUDDER]
          ;pitchPID = 2.0, 0.1, 5.0, 1.0, 100.0
          pitchPID = 2.0, 0.1, 2.0, 1.0, 100.0

          ;headingPID = 2.0, 0.01, 1.2, 0.2, 1.0
          headingPID = 1.0, 0.01, 1.0, 0.2, 1.0

          ;verticalSpeedPID = 0.5, 0.01, 0.35, 300.0,1000.0
          verticalSpeedPID = 1.0, 0.05, 0.2, 300.0,1000.0

          ;nav_yawPID = 0.015, 0.005, 0.001, 1.0, 360

          systems.cfg

          [AUTOPILOT]
          yaw_damper_gain =0 ;2

          S 1 Reply Last reply
          0
          • RetiredMan93231R RetiredMan93231

            Here are some additional recommended changes that will further improve the autopilot performance...

            ai.cfg

            [STICKANDRUDDER]
            ;pitchPID = 2.0, 0.1, 5.0, 1.0, 100.0
            pitchPID = 2.0, 0.1, 2.0, 1.0, 100.0

            ;headingPID = 2.0, 0.01, 1.2, 0.2, 1.0
            headingPID = 1.0, 0.01, 1.0, 0.2, 1.0

            ;verticalSpeedPID = 0.5, 0.01, 0.35, 300.0,1000.0
            verticalSpeedPID = 1.0, 0.05, 0.2, 300.0,1000.0

            ;nav_yawPID = 0.015, 0.005, 0.001, 1.0, 360

            systems.cfg

            [AUTOPILOT]
            yaw_damper_gain =0 ;2

            S Offline
            S Offline
            Sender46
            wrote on last edited by Sender46
            #14

            @RetiredMan93231 said in Autopilot swaying left and right of track:

            Here are some additional recommended changes that will further improve the autopilot performance...

            ai.cfg

            ;nav_yawPID = 0.015, 0.005, 0.001, 1.0, 360

            I notice that you didn't include a replacement for this line. Just checking to confirm whether that is what you intended.

            RetiredMan93231R 1 Reply Last reply
            0
            • C Offline
              C Offline
              copper
              wrote on last edited by
              #15

              It would generally be great to have a full STICKANDRUDDER section. Is your change based on the stock or on the G36 values?

              RetiredMan93231R 2 Replies Last reply
              0
              • S Sender46

                @RetiredMan93231 said in Autopilot swaying left and right of track:

                Here are some additional recommended changes that will further improve the autopilot performance...

                ai.cfg

                ;nav_yawPID = 0.015, 0.005, 0.001, 1.0, 360

                I notice that you didn't include a replacement for this line. Just checking to confirm whether that is what you intended.

                RetiredMan93231R Offline
                RetiredMan93231R Offline
                RetiredMan93231
                wrote on last edited by RetiredMan93231
                #16

                @Sender46 said in Autopilot swaying left and right of track:

                @RetiredMan93231 said in Autopilot swaying left and right of track:

                Here are some additional recommended changes that will further improve the autopilot performance...

                ai.cfg

                ;nav_yawPID = 0.015, 0.005, 0.001, 1.0, 360

                I notice that you didn't include a replacement for this line. Just checking to confirm whether that is what you intended.

                Yes, this line has been commented out to completely remove this parameter...

                This change, and the change to the Yaw Damper parameter, are needed to eliminate a constant left rudder input coming from the autopilot that causes the aircraft to slip during cruise flight. This aircraft has no autopilot rudder axis, so no rudder input should occur from the autopilot.

                S 1 Reply Last reply
                0
                • C copper

                  It would generally be great to have a full STICKANDRUDDER section. Is your change based on the stock or on the G36 values?

                  RetiredMan93231R Offline
                  RetiredMan93231R Offline
                  RetiredMan93231
                  wrote on last edited by
                  #17

                  @copper said in Autopilot swaying left and right of track:

                  It would generally be great to have a full STICKANDRUDDER section. Is your change based on the stock or on the G36 values?

                  I am using the complete AI.CFG file from the G36 as the basis for these changes...

                  1 Reply Last reply
                  0
                  • C copper

                    @RetiredMan93231 said in Autopilot swaying left and right of track:

                    @copper, can you post the changes you made to correct this issue?

                    Sure:
                    Go to the ai.cfg of the G36:

                    Official\OneStore\asobo-aircraft-bonanza-g36\SimObjects\Airplanes\Asobo_Bonanza_G36\ai.cfg

                    and copy the whole [STICKANDRUDDER] section (all the lines below it) from there and paste it into the ai.cfg of the addon:

                    Community\justflight-aircraft-pa28-arrow-iii\SimObjects\Airplanes\JF_PA28_Arrow\ai.cfg

                    replacing the [STICKANDRUDDER] section there.

                    I did not notice any negative side effects during numerous flights. I cannot judge if the behavior of the autopilot is now realistic or not, but I basically just need it to follow whatever I set it up to and that works fine.

                    O Offline
                    O Offline
                    OzzyKym
                    wrote on last edited by
                    #18

                    @copper Thanks so much for this suggestion which worked perfectly for me too.

                    1 Reply Last reply
                    0
                    • C copper

                      It would generally be great to have a full STICKANDRUDDER section. Is your change based on the stock or on the G36 values?

                      RetiredMan93231R Offline
                      RetiredMan93231R Offline
                      RetiredMan93231
                      wrote on last edited by
                      #19

                      @copper said in Autopilot swaying left and right of track:

                      It would generally be great to have a full STICKANDRUDDER section. Is your change based on the stock or on the G36 values?

                      Here is the full [STICKANDRUDDER] section of the AI.CFG file...

                      [STICKANDRUDDER]
                      rudderGroundPID = 0.015, 0.001, 0.001, 1.0, 1.0 ; Pk,Ik,Dk,I boundary, D boundary
                      throttleGroundPID = 1.0,0.10,10.0,10.0,20.0
                      brakeDifferentialPID = 0.0, 0.0,0.0,0.0, 0.0
                      throttleDifferentialPID = 0.0 ,0.0,0.0,0.0,0.0
                      throttlePID = 20.0,0.50,20.0,20.0,500.0
                      ;pitchPID = 2.0, 0.1, 5.0, 1.0, 100.0
                      pitchPID = 2.0, 0.1, 2.0, 1.0, 100.0
                      rollPID = 1.2, 0.1, 0.6, 8.0, 100.0
                      ;headingPID = 2.0, 0.01, 1.2, 0.2, 1.0
                      headingPID = 1.0, 0.01, 1.0, 0.2, 1.0
                      ;verticalSpeedPID = 0.5, 0.01, 0.35, 300.0,1000.0
                      verticalSpeedPID = 1.0, 0.05, 0.2, 300.0,1000.0
                      nav_ex1PID = 3.5, 0.1, 10.0, 0.035, 50.0
                      ;nav_yawPID = 0.015, 0.005, 0.001, 1.0, 360
                      glideSlopePID = 4.12, 0.05, 4.5, 2.0, 60.0
                      flightLevelPID = 100.0, 1.0, 10.0, 100.0, 1000.0

                      1 Reply Last reply
                      1
                      • RetiredMan93231R RetiredMan93231

                        @Sender46 said in Autopilot swaying left and right of track:

                        @RetiredMan93231 said in Autopilot swaying left and right of track:

                        Here are some additional recommended changes that will further improve the autopilot performance...

                        ai.cfg

                        ;nav_yawPID = 0.015, 0.005, 0.001, 1.0, 360

                        I notice that you didn't include a replacement for this line. Just checking to confirm whether that is what you intended.

                        Yes, this line has been commented out to completely remove this parameter...

                        This change, and the change to the Yaw Damper parameter, are needed to eliminate a constant left rudder input coming from the autopilot that causes the aircraft to slip during cruise flight. This aircraft has no autopilot rudder axis, so no rudder input should occur from the autopilot.

                        S Offline
                        S Offline
                        Sender46
                        wrote on last edited by
                        #20

                        @RetiredMan93231 said in Autopilot swaying left and right of track:

                        @Sender46 said in Autopilot swaying left and right of track:

                        @RetiredMan93231 said in Autopilot swaying left and right of track:

                        Here are some additional recommended changes that will further improve the autopilot performance...

                        ai.cfg

                        ;nav_yawPID = 0.015, 0.005, 0.001, 1.0, 360

                        I notice that you didn't include a replacement for this line. Just checking to confirm whether that is what you intended.

                        Yes, this line has been commented out to completely remove this parameter...

                        This change, and the change to the Yaw Damper parameter, are needed to eliminate a constant left rudder input coming from the autopilot that causes the aircraft to slip during cruise flight. This aircraft has no autopilot rudder axis, so no rudder input should occur from the autopilot.

                        Great explanation. Thank you.

                        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