• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
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
    490
    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.
    • D
      dlee
      last edited by 31 May 2023, 20:28

      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!

      E 1 Reply Last reply 31 May 2023, 20:56 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @dlee
        last edited by 31 May 2023, 20:56

        @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.

        D 1 Reply Last reply 31 May 2023, 22:36 Reply Quote 0
        • D
          dlee @Eric Katzfey
          last edited by dlee 31 May 2023, 22:38 31 May 2023, 22:36

          @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

          E 1 Reply Last reply 31 May 2023, 23:06 Reply Quote 0
          • E
            Eric Katzfey ModalAI Team @dlee
            last edited by 31 May 2023, 23:06

            @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?

            D 1 Reply Last reply 5 Jun 2023, 21:32 Reply Quote 0
            • D
              dlee @Eric Katzfey
              last edited by dlee 5 Jun 2023, 21:33 5 Jun 2023, 21:32

              @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.

              E 1 Reply Last reply 5 Jun 2023, 22:54 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @dlee
                last edited by 5 Jun 2023, 22:54

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

                D 1 Reply Last reply 5 Jun 2023, 23:30 Reply Quote 0
                • D
                  dlee @Eric Katzfey
                  last edited by 5 Jun 2023, 23:30

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

                  E 1 Reply Last reply 5 Jun 2023, 23:32 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @dlee
                    last edited by 5 Jun 2023, 23:32

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

                    D 1 Reply Last reply 6 Jun 2023, 18:35 Reply Quote 0
                    • D
                      dlee @Eric Katzfey
                      last edited by dlee 6 Jun 2023, 18:43 6 Jun 2023, 18:35

                      @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

                      E 1 Reply Last reply 7 Jun 2023, 22:45 Reply Quote 0
                      • E
                        Eric Katzfey ModalAI Team @dlee
                        last edited by 7 Jun 2023, 22:45

                        @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.

                        D 1 Reply Last reply 7 Jun 2023, 23:05 Reply Quote 0
                        • D
                          dlee @Eric Katzfey
                          last edited by dlee 7 Jun 2023, 23:06 7 Jun 2023, 23:05

                          This post is deleted!
                          E 1 Reply Last reply 8 Jun 2023, 00:11 Reply Quote 0
                          • E
                            Eric Katzfey ModalAI Team @dlee
                            last edited by 8 Jun 2023, 00:11

                            @dlee Sent!

                            1 Reply Last reply Reply Quote 0
                            1 out of 12
                            • First post
                              1/12
                              Last post
                            Powered by NodeBB | Contributors