Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Altitude accuracy

Altitude accuracy

Scheduled Pinned Locked Moved Ask your questions right here!
4 Posts 2 Posters 655 Views 1 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.
  • B Offline
    B Offline
    blakekrpec
    wrote on last edited by
    #1

    What is the expected accuracy of altitude estimation in PX4? With a good satellite connection (19-20 satellites and HDOP of 0.6-0.7) and the addition of a range finder should I expect the altitude estimates from PX4 to be accurate/steady? If yes, is there any suggestions for achieving a good altitude estimate?

    With the VOXL m500, I am seeing altitude measurements that are often off by 1-2 meters, and fluctuate up to 1.5 meters in both the up and down directions. The only way I have achieved a reliable altitude estimation is the set EKF2_HGT_MODE to use a rangefinder. However flying in this way is undesirable for my work. If EKF2_HGT_MODE is set to barometer or GPS, the altitude fluctuates significantly, causing vertical deviations in position mode. This occurs with EKF2_RNG_AID enabled and disabled.

    m4v3rM 1 Reply Last reply
    0
    • B blakekrpec

      What is the expected accuracy of altitude estimation in PX4? With a good satellite connection (19-20 satellites and HDOP of 0.6-0.7) and the addition of a range finder should I expect the altitude estimates from PX4 to be accurate/steady? If yes, is there any suggestions for achieving a good altitude estimate?

      With the VOXL m500, I am seeing altitude measurements that are often off by 1-2 meters, and fluctuate up to 1.5 meters in both the up and down directions. The only way I have achieved a reliable altitude estimation is the set EKF2_HGT_MODE to use a rangefinder. However flying in this way is undesirable for my work. If EKF2_HGT_MODE is set to barometer or GPS, the altitude fluctuates significantly, causing vertical deviations in position mode. This occurs with EKF2_RNG_AID enabled and disabled.

      m4v3rM Offline
      m4v3rM Offline
      m4v3r
      wrote on last edited by
      #2

      @blakekrpec I think HGT_MDE needs to be Baro "and" GPS.
      The EKF does a fusion estimate there to put it simply... ,)

      Ch.B.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        blakekrpec
        wrote on last edited by
        #3

        I only see discrete options for baro, GPS, range finder, and vision as possible values for the parameter EKF2_HGT_MODE. These are defined in the PX4 docs here

        My understanding is that the PX4 EKF requires the definition of a primary altitude sensor (via EKF2_HGT_MODE) and then all additional altitude data is fused to estimate altitude, but that PX4 does not support the definition of multiple primary altitude sensors.

        If this is incorrect and you are aware of a parameter to enable this behavior I would be happy to try it out!

        m4v3rM 1 Reply Last reply
        0
        • B blakekrpec

          I only see discrete options for baro, GPS, range finder, and vision as possible values for the parameter EKF2_HGT_MODE. These are defined in the PX4 docs here

          My understanding is that the PX4 EKF requires the definition of a primary altitude sensor (via EKF2_HGT_MODE) and then all additional altitude data is fused to estimate altitude, but that PX4 does not support the definition of multiple primary altitude sensors.

          If this is incorrect and you are aware of a parameter to enable this behavior I would be happy to try it out!

          m4v3rM Offline
          m4v3rM Offline
          m4v3r
          wrote on last edited by
          #4

          @blakekrpec As I understand the ECL/EKF library integration so far, you can run several instances that each will fuse different sensor combinations (with individual blending) to accommodate for estimation state errors and the like....

          Ch.B.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          ModalAI
          Categories Recent Tags ModalAI.com Docs
          © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups