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

    [muorb] [ekf2] resetQuatStateYaw called

    FPV Drones
    2
    2
    15
    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.
    • wilkinsafW
      wilkinsaf ModalAI Team
      last edited by

      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 Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @wilkinsaf
        last edited by

        @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 Reply Quote 0
        • First post
          Last post
        Powered by NodeBB | Contributors