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

ModalAI Forum

  1. ModalAI Support Forum
  2. Development Drones
  3. Height estimate not stable and wrong heading

Height estimate not stable and wrong heading

Scheduled Pinned Locked Moved Unsolved Development Drones
rb5
4 Posts 3 Posters 2.6k Views 2 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.
  • S Offline
    S Offline
    smilon
    Contributor
    wrote on last edited by smilon
    #1

    I have a clean install of voxl-sdk-1.1.2 and I am getting an error of a "height estimate not stable" which does not allow me to switch to position mode, or any autonomous functionality. Even with a GPS lock and 12 satellite connections.

    I additionally observe that my compass's North points to the north of the PX4's init LOCAL orientation instead of the GLOBAL north, from GPS.

    I am able to reproduce that by just changing orientation of the drone and restarting voxl-px4 service, while visualizing on QGroundControl.

    Maybe the two are related. Is there any way to configure orientation to be taken from GPS and not perhaps the VIO channel?

    P.S. I can bypass the error and switch to position mode by first arming in manual mode and then switching, but still I can't e.g return to home. Position holds great though.

    tomT 1 Reply Last reply
    0
    • S smilon

      I have a clean install of voxl-sdk-1.1.2 and I am getting an error of a "height estimate not stable" which does not allow me to switch to position mode, or any autonomous functionality. Even with a GPS lock and 12 satellite connections.

      I additionally observe that my compass's North points to the north of the PX4's init LOCAL orientation instead of the GLOBAL north, from GPS.

      I am able to reproduce that by just changing orientation of the drone and restarting voxl-px4 service, while visualizing on QGroundControl.

      Maybe the two are related. Is there any way to configure orientation to be taken from GPS and not perhaps the VIO channel?

      P.S. I can bypass the error and switch to position mode by first arming in manual mode and then switching, but still I can't e.g return to home. Position holds great though.

      tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #2

      @smilon If you run voxl-configure-px4-params -w to open the px4 param wizard, you can select EKF2_helpers and select from the param set options to fit your use case whether that is indoor/outdoor or vio vs gps flight

      S 1 Reply Last reply
      0
      • tomT tom

        @smilon If you run voxl-configure-px4-params -w to open the px4 param wizard, you can select EKF2_helpers and select from the param set options to fit your use case whether that is indoor/outdoor or vio vs gps flight

        S Offline
        S Offline
        smilon
        Contributor
        wrote on last edited by smilon
        #3

        @tom Hi Tom! To be honest I was not even aware this tool existed... super handy! So I played with the different EKF2_helpers and while the "Height estimate not stable" error was solved, I have two problems with the outdoor profiles that my application requires:

        1. outdoor_gps_baro.params:

        While the heading is correct in this profile, I get the error "local position estimate not valid". I checked that VIO is up and PX4 receives vehicle_odometry data. Therefore I cannot takeoff with this configuration. Additionally I get a warning that "GPS speed accuracy too low".

        1. vio_gps_baro.params:

        I can takeoff with position mode but I get the same "GPS speed accuracy too low" warning which does not allow me to trigger any autonomous PX4 functionality, which is crucial for my application. Even with 14 satellite lock, seems strange. Additionally the drone heading remains to be the local heading from the VIO initialization orientation, instead of the correct global heading. Is this intended?

        Any ideas on how to solve these problems? I am more interested in the vio_gps_baro.params profile. Could it be a hardware issue with the GPS?

        Best,

        Milton

        Eric KatzfeyE 1 Reply Last reply
        0
        • S smilon

          @tom Hi Tom! To be honest I was not even aware this tool existed... super handy! So I played with the different EKF2_helpers and while the "Height estimate not stable" error was solved, I have two problems with the outdoor profiles that my application requires:

          1. outdoor_gps_baro.params:

          While the heading is correct in this profile, I get the error "local position estimate not valid". I checked that VIO is up and PX4 receives vehicle_odometry data. Therefore I cannot takeoff with this configuration. Additionally I get a warning that "GPS speed accuracy too low".

          1. vio_gps_baro.params:

          I can takeoff with position mode but I get the same "GPS speed accuracy too low" warning which does not allow me to trigger any autonomous PX4 functionality, which is crucial for my application. Even with 14 satellite lock, seems strange. Additionally the drone heading remains to be the local heading from the VIO initialization orientation, instead of the correct global heading. Is this intended?

          Any ideas on how to solve these problems? I am more interested in the vio_gps_baro.params profile. Could it be a hardware issue with the GPS?

          Best,

          Milton

          Eric KatzfeyE Offline
          Eric KatzfeyE Offline
          Eric Katzfey
          ModalAI Team
          wrote on last edited by
          #4

          @smilon The parameter EKF2_REQ_SACC sets the maximum allowable speed accuracy. If you increase that value does the warning go away? Can you post a log?

          1 Reply Last reply
          0

          Reading along? Create a free ModalAI Forum account to join in.

          With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

          Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

          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