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

    Mainline PX4 or voxl-px4 bug causing inconsistent Vz and z estimates by EKF2?

    Ask your questions right here!
    4
    17
    1.1k
    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.
    • H
      hmlow @Cliff Wong
      last edited by hmlow 22 Oct 2023, 13:24 22 Oct 2023, 13:23

      @Cliff-Wong

      While the logs and graphs above are based on my own customized aircraft, I just tried the same maneuver on the Starling (with shipped params and configured for indoor VIO) and i can confirm that the same observation is repeatable.

      Im curious if you guys would see the same uncommanded climb/sink if you would roll your own Starling aircraft left (or right) for 10 - 20m (3m/s, with CP turned off) and then in the opposite direction. The logs would also show that the EKF2 estimates having the same issues as i have described here and on the github post..

      H 1 Reply Last reply 26 Oct 2023, 05:10 Reply Quote 0
      • H
        hmlow @hmlow
        last edited by 26 Oct 2023, 05:10

        Hi did anyone manage to verify this?

        H 1 Reply Last reply 2 Nov 2023, 13:57 Reply Quote 0
        • H
          hmlow @hmlow
          last edited by 2 Nov 2023, 13:57

          Any devs?

          I was able to produce this issue on two separate Starlings and a customized 250g drone

          W 1 Reply Last reply 3 Nov 2023, 22:08 Reply Quote 0
          • W
            wilkinsaf ModalAI Team @hmlow
            last edited by 3 Nov 2023, 22:08

            @hmlow I was seeing the same thing on my starling. Have you tried completely disconnecting the GPS/baro unit on top and turning off the parameter HAS_MAG?

            H 1 Reply Last reply 3 Nov 2023, 23:54 Reply Quote 0
            • H
              hmlow @wilkinsaf
              last edited by 3 Nov 2023, 23:54

              @wilkinsaf That solved the issue for you?

              W 1 Reply Last reply 4 Nov 2023, 04:04 Reply Quote 0
              • W
                wilkinsaf ModalAI Team @hmlow
                last edited by 4 Nov 2023, 04:04

                @hmlow yes. Ideally you would adjust the EKF2 parameters to increase the gps/mag threshold so they wouldn't affect your local position. But, quick and dirty is to unplug the gps unit. See if that solves your issue. If it does, then worry about EKF2 parameters

                H 1 Reply Last reply 4 Nov 2023, 08:11 Reply Quote 0
                • H
                  hmlow @wilkinsaf
                  last edited by 4 Nov 2023, 08:11

                  @wilkinsaf actually no, I'm using neither GPS nor mag (disabled both) as my flights are entirely indoors

                  W 1 Reply Last reply 4 Nov 2023, 14:22 Reply Quote 0
                  • W
                    wilkinsaf ModalAI Team @hmlow
                    last edited by 4 Nov 2023, 14:22

                    @hmlow

                    So, basically the main issue is that in the logs the qvio and ekf2 are reporting different position estimates? But, everything is flying correctly?

                    H 1 Reply Last reply 4 Nov 2023, 14:28 Reply Quote 0
                    • H
                      hmlow @wilkinsaf
                      last edited by hmlow 4 Nov 2023, 14:31 4 Nov 2023, 14:28

                      @wilkinsaf Flying correctly for the most part yes.

                      Except during specific maneuvers as i have described in my first post (details in the github link) and the third post.
                      Its challenging to summarize the issue in a few lines..

                      W 1 Reply Last reply 6 Nov 2023, 14:43 Reply Quote 0
                      • W
                        wilkinsaf ModalAI Team @hmlow
                        last edited by 6 Nov 2023, 14:43

                        @hmlow I was flying over the weekend, and saw some inconsistencies as well tbh. The quality of the QVIO was reporting not as high as it was in version 0.9.5 SDK release. I will ask the devs and see what they say.
                        First, I need to compile some logs from voxl-qvio.

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