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

ModalAI Forum

  1. ModalAI Support Forum
  2. Development Drones
  3. [muorb] [ekf2] resetQuatStateYaw called

[muorb] [ekf2] resetQuatStateYaw called

Scheduled Pinned Locked Moved Unsolved Development Drones
fpv
2 Posts 2 Posters 1.4k 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.
  • wilkinsafW Offline
    wilkinsafW Offline
    wilkinsaf
    ModalAI Team
    wrote on last edited by
    #1

    I get this error: "[muorb] [ekf2] resetQuatStateYaw called:"

    I know that this is expected behavior as the UAV stops listening to the compass and uses GPS for heading. My question is to the background of this, as I would LIKE to use the compass.

    1. Was this done as the power consumption from the motors messes up the heading of the UAV
    2. If the answer to #1 was yes, I am curious if we could do a compass power compensation: https://docs.px4.io/main/en/advanced_config/compass_power_compensation, or if this was already tried and didnt work
    3. If we can not listen to the compass at all, I am wondering if there is a recommended way to disable the compass prearm check so that when we land in position mode, and go to takeoff again, the pre-arm checks dont yell at us that our compass is missing. - I know we can program something ourselves, but want to see if there is a recommended way that you guys have looked into. Just dont want to duplicate work.

    Any advice would be much welcomed, and thank you for your assistance!

    Some logs as well with high rate logging turned on:
    https://review.px4.io/plot_app?log=ea8fad6d-1e00-4441-a70b-2726c6e8501b
    https://review.px4.io/plot_app?log=fc2f0d95-0ef7-434d-88b2-1b1d8e0243d5

    Eric KatzfeyE 1 Reply Last reply
    0
    • wilkinsafW wilkinsaf

      I get this error: "[muorb] [ekf2] resetQuatStateYaw called:"

      I know that this is expected behavior as the UAV stops listening to the compass and uses GPS for heading. My question is to the background of this, as I would LIKE to use the compass.

      1. Was this done as the power consumption from the motors messes up the heading of the UAV
      2. If the answer to #1 was yes, I am curious if we could do a compass power compensation: https://docs.px4.io/main/en/advanced_config/compass_power_compensation, or if this was already tried and didnt work
      3. If we can not listen to the compass at all, I am wondering if there is a recommended way to disable the compass prearm check so that when we land in position mode, and go to takeoff again, the pre-arm checks dont yell at us that our compass is missing. - I know we can program something ourselves, but want to see if there is a recommended way that you guys have looked into. Just dont want to duplicate work.

      Any advice would be much welcomed, and thank you for your assistance!

      Some logs as well with high rate logging turned on:
      https://review.px4.io/plot_app?log=ea8fad6d-1e00-4441-a70b-2726c6e8501b
      https://review.px4.io/plot_app?log=fc2f0d95-0ef7-434d-88b2-1b1d8e0243d5

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

      @wilkinsaf You can disable compass with SYS_HAS_MAG = 0 and EKF2_MAG_TYPE = 5. But if you enable it and it isn't healthy you won't be able to arm. Power compensation may work, it depends on your particular drone model and use case.

      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