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. Steam Gauge Overhaul
  6. Caravan Autopilot - won't disarm?

Caravan Autopilot - won't disarm?

Scheduled Pinned Locked Moved Steam Gauge Overhaul
76 Posts 9 Posters 12.2k Views 5 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.
  • J jmarkows

    @ultradianguy said in Caravan Autopilot - won't disarm?:

    Thanks - not worried about making the edits - no big deal - just wasn't clear on which were determined to be helpful.

    The way people are discussing this is a bit confusing - as saying that the WT avionics are now incorporated into the core sim implies (to me) that no addin is needed in Content Manager. (In my mind, anything I see in Content Manager is not Core - but maybe that's just mistaken).

    Anyway, regarding bullet 1 above - there are two GNS files listed in CM - a bigger one with no thumbnail and a smaller one with a thumbnail. I'm understanding the most recent replies to mean BOTH should be loaded.

    Confirm?
    (And thank you)

    Confirmed, yes. The one without the thumbnail is the core avionics and to my knowledge actually can't be uninstalled. The one with the color thumbnail is the pointer, which can be removed, but you want it installed.

    Just to give you a warning to something that tripped me up making the KAP140 edits, Black Square gives four lines that the provided code snipped needs to go after: those are functions and that should be the first line in each function. My first attempt, I misread it as putting it after the block of four functions, and that bricked my avionics. The rest are super simple.

    U Offline
    U Offline
    ultradianguy
    wrote on last edited by
    #40

    @jmarkows Ah, thank you. So I'm adding the same code snippet as the first line of each of those 4 functions?

    I usually do this sort of thing in notepad++ which will recognize the file as js and give me some indication where a block begins and ends. Not a full-fledged development environment but helpful.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jmarkows
      wrote on last edited by
      #41

      @ultradianguy Correct.

      I think a little below that are snippets from my file and Black Squares that should illustrate it a little better, as I said my first attempt didn't go quite right 😂

      1 Reply Last reply
      1
      • U Offline
        U Offline
        ultradianguy
        wrote on last edited by
        #42

        Cool, thanks. (Tried to just like your response but I guess you can't do that here?)

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

          Thank you for your post, @jmarkows. That's exactly the current situation. Sorry that this reminds so confusing right now.

          I heard through yet another grapevine yesterday that Working Title will not address this until SU15, which is rather upsetting to me and my support team, as you might imagine. I'm sure that it's not by choice, though. Despite the ability to make instantaneous changes at no cost, software development can still be a slow moving machine.

          1 Reply Last reply
          1
          • J jmarkows

            @ultradianguy said in Caravan Autopilot - won't disarm?:

            Hello - I am now utterly confused about what changes are needed to make the BS Caravan AP work correctly with the GNS avionics. I had given up on flying it altogether after trying suggested changes to the GNS code. @jmarkows pointed me here which I much appreciate. But I'm unclear which of the many suggested above were confirmed as a solution.

            I've seen the original changes to the 530 and 430 files, possible changes to the KAP140 js, and also a change in systems.cfg. As well as keeping or not keeping the WT content manager mods.

            @Black-Square can you please provide a single, comprehensive set of instructions in one place for the needed changes to fix the issues? My experience seems to be quite similar to that of @jmarkows .

            • You DO need the marketplace mod installed. Without it, the plane calls the original Asobo GNS units and autopilot and things like NAV won't capture and follow
            • You DO need to set "flight_director_available" to 1 in the systems.cfg in the Analog Caravan folder
            • You do NOT need to make the change to the KAP140.js file; the AP shouldn't display any modes when disconnected, and that code change fixes that, but it's not critical to the fix so you can wait if you don't want to make that change yourself.
            • You do NOT need to make changes to the WT530.js and WT430.js to fix the hot swapping issue with the latest WT avionics, but an official fix is likely not coming until SU15 and you run the risk of the AP not working if the state saving doesn't load you into something with the 530/430 already set. I DO recommend you make this fix.

            They're not complicated fixes and all that's required is some copy and pasting. You should make a copy of the original file before making the changes, that way you can easily go back if you don't do it right.

            A Offline
            A Offline
            Aladdeen98
            wrote on last edited by
            #44

            @jmarkows Hi! Can you share a little bit more of the details of bullet point #4 for the changes to the WT530/430.js? I've seen it somewhere before but I can't find it now. Thanks!

            J 1 Reply Last reply
            0
            • A Aladdeen98

              @jmarkows Hi! Can you share a little bit more of the details of bullet point #4 for the changes to the WT530/430.js? I've seen it somewhere before but I can't find it now. Thanks!

              J Offline
              J Offline
              jmarkows
              wrote on last edited by
              #45

              @Aladdeen98 https://community.justflight.com/post/25362

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jmarkows
                wrote on last edited by
                #46

                @Black-Square I think one or more of these fixes might have had unintended consequences.

                I noticed flying the Caravan this morning that the AP will now adjust the held altitude based on the cockpit altimeter and not its own. I was holding at 7000ft with a setting of 30.23 (or so, the Kollsman window is impossible to read), when I pulled a local altimeter of 29.94 and adjusted the cockpit one first.

                The plane began climbing back to 7000ft as soon as I touched the altimeter but the KAP140 was still set up 30.23. Adjusting that had no effect, but I did discover that playing with the KAP140 Baro setting is still doing something under the hood because you will get all Alt warning beep if you set it differently enough; about .3 in either direction, which IIRC is roughly 300ft.

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

                  I suspect that's because the Working Title autopilot is missing some features of the native one. For example, it has no bank angle limiter. I added this in my modifications I sent them, so hopefully it will be added in SU15. The KAP140 is my only autopilot with a separate barometer, so I'm not surprised I haven't noticed, given that the Caravan was released well before the WT GNS. I'll take a look next time I have the sim running and see if I can spot a mistake or improve their code.

                  N J 2 Replies Last reply
                  1
                  • J Offline
                    J Offline
                    jmarkows
                    wrote on last edited by
                    #48

                    I'm certain it was working when I had a stock installation. Do you want me to do some testing to see which fix might be responsible?

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

                      I really appreciate the offer, but please take my word for it that it's extremely unlikely that any of our changes would have resulted in that change. I just don't want to waste your time after you were so willing to help my troubleshoot the bigger problem. I will give this a test run on my side later. It's very easy for me to roll back those changes, because I keep a copy of every version of my aircraft exactly as they were released to the public. If I need any further testing, I will let you know, but I will also do my best to spare you the trouble. Thank you!

                      1 Reply Last reply
                      1
                      • J Offline
                        J Offline
                        jmarkows
                        wrote on last edited by jmarkows
                        #50

                        I did just do a clean install, and it did not work as I thought it did; my apologies. Normally the altimeter change hasn't been as wild as it was during today's flight, so when I adjusted it I saw a small wiggle in the VSI and thought it was adjusting.

                        I'm not really surprised that the changes wouldn't have done it, but I was sure (so much for that) that it was working previously. You said it's missing some features of the native one? Maybe I had seen it in action when using the stock Asobo avionics.

                        1 Reply Last reply
                        0
                        • Black SquareB Black Square

                          I suspect that's because the Working Title autopilot is missing some features of the native one. For example, it has no bank angle limiter. I added this in my modifications I sent them, so hopefully it will be added in SU15. The KAP140 is my only autopilot with a separate barometer, so I'm not surprised I haven't noticed, given that the Caravan was released well before the WT GNS. I'll take a look next time I have the sim running and see if I can spot a mistake or improve their code.

                          N Offline
                          N Offline
                          nomadrc
                          wrote on last edited by
                          #51

                          @Black-Square Yes I can also verify in the BKSQ Analog Caravan, the KAP140 Baro setting doesn't have any effect on the altitude hold, only changing the altimeter Kohlsman does.

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

                            I just confirmed that this doesn't work with the default C172 with Asobo's implementation of a KAP140 either. When I looked in the code, it's using the SimVar "INDICATED ALTITUDE" directly, which will only look at the main altimeter, not a secondary barometer. It's deeper in the code than I usually like to make modifications to, but I will look at the documentation and see if there is an easy addition I can make and suggest to Working Title.

                            N J 2 Replies Last reply
                            2
                            • Black SquareB Black Square

                              I just confirmed that this doesn't work with the default C172 with Asobo's implementation of a KAP140 either. When I looked in the code, it's using the SimVar "INDICATED ALTITUDE" directly, which will only look at the main altimeter, not a secondary barometer. It's deeper in the code than I usually like to make modifications to, but I will look at the documentation and see if there is an easy addition I can make and suggest to Working Title.

                              N Offline
                              N Offline
                              nomadrc
                              wrote on last edited by nomadrc
                              #53

                              @Black-Square Always appreciate your quick response on these forums, by the way I also had the "AP will not shut off" issue (in WTT mode) and your suggested fix (change Flight Director =1) resolved the problem, though I had to map a key to toggle FD on/off since there is no such clickable button in the actual Analog Caravan visual cockpit model.

                              J 1 Reply Last reply
                              0
                              • N nomadrc

                                @Black-Square Always appreciate your quick response on these forums, by the way I also had the "AP will not shut off" issue (in WTT mode) and your suggested fix (change Flight Director =1) resolved the problem, though I had to map a key to toggle FD on/off since there is no such clickable button in the actual Analog Caravan visual cockpit model.

                                J Offline
                                J Offline
                                jmarkows
                                wrote on last edited by
                                #54

                                @nomadrc said in Caravan Autopilot - won't disarm?:

                                @Black-Square Always appreciate your quick response on these forums, by the way I also had the "AP will not shut off" issue (in WTT mode) and your suggested fix (change Flight Director =1) resolved the problem, though I had to map a key to toggle FD on/off since there is no such clickable button in the actual Analog Caravan visual cockpit model.

                                You shouldn't need to do this, the normal Autopilot Off/Disconnect has been working fine, both bound and clicking the yoke button.

                                1 Reply Last reply
                                0
                                • Black SquareB Black Square

                                  I just confirmed that this doesn't work with the default C172 with Asobo's implementation of a KAP140 either. When I looked in the code, it's using the SimVar "INDICATED ALTITUDE" directly, which will only look at the main altimeter, not a secondary barometer. It's deeper in the code than I usually like to make modifications to, but I will look at the documentation and see if there is an easy addition I can make and suggest to Working Title.

                                  J Offline
                                  J Offline
                                  jmarkows
                                  wrote on last edited by
                                  #55

                                  @Black-Square said in Caravan Autopilot - won't disarm?:

                                  I just confirmed that this doesn't work with the default C172 with Asobo's implementation of a KAP140 either. When I looked in the code, it's using the SimVar "INDICATED ALTITUDE" directly, which will only look at the main altimeter, not a secondary barometer. It's deeper in the code than I usually like to make modifications to, but I will look at the documentation and see if there is an easy addition I can make and suggest to Working Title.

                                  Now I feel really bad for the bum steer!

                                  1 Reply Last reply
                                  0
                                  • N Offline
                                    N Offline
                                    nomadrc
                                    wrote on last edited by
                                    #56
                                    This post is deleted!
                                    1 Reply Last reply
                                    0
                                    • N Offline
                                      N Offline
                                      nomadrc
                                      wrote on last edited by nomadrc
                                      #57
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • Black SquareB Black Square

                                        I suspect that's because the Working Title autopilot is missing some features of the native one. For example, it has no bank angle limiter. I added this in my modifications I sent them, so hopefully it will be added in SU15. The KAP140 is my only autopilot with a separate barometer, so I'm not surprised I haven't noticed, given that the Caravan was released well before the WT GNS. I'll take a look next time I have the sim running and see if I can spot a mistake or improve their code.

                                        J Offline
                                        J Offline
                                        jmarkows
                                        wrote on last edited by jmarkows
                                        #58

                                        @Black-Square said in Caravan Autopilot - won't disarm?:

                                        I suspect that's because the Working Title autopilot is missing some features of the native one. For example, it has no bank angle limiter. I added this in my modifications I sent them, so hopefully it will be added in SU15. The KAP140 is my only autopilot with a separate barometer, so I'm not surprised I haven't noticed, given that the Caravan was released well before the WT GNS. I'll take a look next time I have the sim running and see if I can spot a mistake or improve their code.

                                        Nick, do you know if any of this made it into the SU15 build? I know the "hot swap" fix did, wondering if any of these other items did, as well.

                                        I will almost assuredly be asking questions in the relevant parts of the forums in the coming days, but just playing around in the Dukes to get my controls squared away, you've outdone yourself this time. Just starting the engines and watching the diagram on the tablet has me giggling like a kid.

                                        If half of these features make it back to the TBM, I might never buy another plane from anyone else ever again. Bravo, and congrats on the release!

                                        And now back to the Caravan.

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

                                          So glad you're enjoying my aircraft! I know that when I chuckle in delight at what I've created, I figure at least a handful of other people will feel the same way :)

                                          Yes, the tablet will be coming to the TBM! I've already made the tablet for the Starship, as well. I'm glad you're looking forward to it.

                                          Unfortunately, none of the other improvements I sent them have been added to the WT GNS. Very sorry! You know that I usually like to send code for instant improvements to my users, but this one is a little out of my control.

                                          L MarionetteworkM 2 Replies Last reply
                                          1
                                          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