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

ModalAI Forum

  1. ModalAI Support Forum
  2. Development Drones
  3. Yaw Estimate Error

Yaw Estimate Error

Scheduled Pinned Locked Moved Unsolved Development Drones
starling
4 Posts 2 Posters 454 Views
  • 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.
  • Nitin Varma VegesnaN Offline
    Nitin Varma VegesnaN Offline
    Nitin Varma Vegesna
    Contributor
    wrote on last edited by Nitin Varma Vegesna
    #1

    Hello,

    In /etc/modalai/voxl-px4.conf set GPS to NONE. Then set the PX4 parameters SYS_HAS_GPS, and SYS_HAS_MAG to 0. Set EKF2_MAG_TYPE to None. Set EKF2_GPS_CTRL to 0. This is when my GPS was broken.

    I was getting Preflight Fail: heading estimate not stable and Preflight Fail: Yaw estimate error

    How could I fix the error? Is there any calibration or anything else that needs to be done? I was looking at QGC and yaw seemed to move smoothly when i yawed so I don't know what the issue is. /mavros/local_position/odom seems to be properly providing the drone's pose as well, at least the position and yaw.

    lhermosilloL 1 Reply Last reply
    0
    • Nitin Varma VegesnaN Nitin Varma Vegesna

      Hello,

      In /etc/modalai/voxl-px4.conf set GPS to NONE. Then set the PX4 parameters SYS_HAS_GPS, and SYS_HAS_MAG to 0. Set EKF2_MAG_TYPE to None. Set EKF2_GPS_CTRL to 0. This is when my GPS was broken.

      I was getting Preflight Fail: heading estimate not stable and Preflight Fail: Yaw estimate error

      How could I fix the error? Is there any calibration or anything else that needs to be done? I was looking at QGC and yaw seemed to move smoothly when i yawed so I don't know what the issue is. /mavros/local_position/odom seems to be properly providing the drone's pose as well, at least the position and yaw.

      lhermosilloL Offline
      lhermosilloL Offline
      lhermosillo
      wrote on last edited by
      #2

      @Nitin-Varma-Vegesna Are you using EKF2_EV_CTRL to supplement the GPS denial?

      Nitin Varma VegesnaN 2 Replies Last reply
      0
      • lhermosilloL lhermosillo

        @Nitin-Varma-Vegesna Are you using EKF2_EV_CTRL to supplement the GPS denial?

        Nitin Varma VegesnaN Offline
        Nitin Varma VegesnaN Offline
        Nitin Varma Vegesna
        Contributor
        wrote on last edited by
        #3

        @lhermosillo It was 15 with/without the GPS.

        1 Reply Last reply
        0
        • lhermosilloL lhermosillo

          @Nitin-Varma-Vegesna Are you using EKF2_EV_CTRL to supplement the GPS denial?

          Nitin Varma VegesnaN Offline
          Nitin Varma VegesnaN Offline
          Nitin Varma Vegesna
          Contributor
          wrote on last edited by
          #4
          This post is deleted!
          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