ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Autotune Feature in PX4 1.14-dev Version for Sentinel Drone (VOXL2 Board)

    Ask your questions right here!
    2
    12
    491
    Loading More Posts
    • 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.
    • dleeD
      dlee
      last edited by

      Hello,

      I am trying to perform Autotune on my Sentinel Drone (VOXL2 Board) using QGroundControl (QGC). Currently, the PX4 version I am using in Voxl-suite (0.9.5) is 1.12, which does not have the Autotune feature. However, I have confirmed that Autotune was added starting from version 1.13 (In version 1.12, there was an Autotune menu, but when I clicked on it, I encountered an "ACK Error 3").

      To address this, I have built the PX4 1.14-dev version from the ModalAI GitHub repository and installed it on my Sentinel Drone. However, I couldn't find the PID tuning menu, even after updating to the 1.14-dev version. I have also searched for Autotune-related parameters in PX4, but couldn't find any information.

      I am curious to know if it is possible to perform Autotune in the 1.14-dev version. Additionally, I would like to mention that Autotune worked well when I performed it on a VOXL1 Board using PX4 version 1.13.

      If anyone has experience or knowledge regarding the availability of Autotune in the 1.14-dev version or any alternative solutions for PID tuning in the PX4 version I'm using, I would greatly appreciate your guidance.

      Thank you for your support!

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @dlee
        last edited by

        @dlee I'm not familiar with the 1.14-dev version. For VOXL2 you would want to use the voxl-dev branch in our GitHub repo. We have tried autotune with that branch and a much smaller drone and the autotune procedure ran but failed to produce valid gains. We have not yet spent the time to figure out why that happened.

        dleeD 1 Reply Last reply Reply Quote 0
        • dleeD
          dlee @Eric Katzfey
          last edited by dlee

          @Eric-Katzfey
          I changed it to the voxl-dev repository and built it, then did depackaging on voxl2. However, I still can't see autotune. Is there any other method?

          8f26bfd2-a38d-4f5a-b42e-a72908c829b3-image.png

          6dca901f-ca50-4fd2-8b70-c80d16f776a9-image.png

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Eric KatzfeyE
            Eric Katzfey ModalAI Team @dlee
            last edited by

            @dlee We tested by running voxl-px4 on target manually and then set MC_AT_START to 1 when the drone was flying. I would expect that if you have it disabled and are flying that when you set it to enabled the procedure would start. Is that not what you are experiencing?

            dleeD 1 Reply Last reply Reply Quote 0
            • dleeD
              dlee @Eric Katzfey
              last edited by dlee

              @Eric-Katzfey
              When I do arm, I encounter this error on QGC. Do you know this?

              "MAV_CMD_COMPONENT_ARM_DISARM command temporaily rejected"

              Because of this error, I cannot fly the drone.

              Eric KatzfeyE 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @dlee
                last edited by

                @dlee That's kind of generic. There should also be a more specific preflight failure that tells you exactly what the issue is.

                dleeD 1 Reply Last reply Reply Quote 0
                • dleeD
                  dlee @Eric Katzfey
                  last edited by

                  @Eric-Katzfey I got this message: "preflight fail : open drone id system missing".

                  Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                  • Eric KatzfeyE
                    Eric Katzfey ModalAI Team @dlee
                    last edited by

                    @dlee You can set the parameter COM_ARM_ODID to 0 to ignore those.

                    dleeD 1 Reply Last reply Reply Quote 0
                    • dleeD
                      dlee @Eric Katzfey
                      last edited by dlee

                      @Eric-Katzfey
                      Could you see this video? When I put parameters downloaded from gitlab (Sentinel_V1.params-link), ESCs error occurs.

                      This capture is the menu of Actuators. Actuator testing doesn't work too.
                      6682d5e4-b29d-4aee-b0d0-fb464bc7e9e0-image.png

                      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                      • Eric KatzfeyE
                        Eric Katzfey ModalAI Team @dlee
                        last edited by

                        @dlee It's likely that moving to the newer version of PX4 resulted in some incompatibilities in parameters or something else. Rather than try to resolve with your current software would you be willing to try our latest software platform release (currently in beta)? If you are interested I can send you a link to the new platform release via email.

                        dleeD 1 Reply Last reply Reply Quote 0
                        • dleeD
                          dlee @Eric Katzfey
                          last edited by dlee

                          This post is deleted!
                          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                          • Eric KatzfeyE
                            Eric Katzfey ModalAI Team @dlee
                            last edited by

                            @dlee Sent!

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Powered by NodeBB | Contributors