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

    Preflight Fail: Compass Sensor 0 missing

    Starling & Starling 2
    2
    9
    65
    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.
    • Nitin Varma VegesnaN
      Nitin Varma Vegesna
      last edited by

      Hello, the top of the starling2 that holds the gps broke off and now I get the error Preflight Fail: Compass Sensor 0 missing. How do I fix this? I still have the gps, but did something else get lost or get loose? What exactly is the compass sensor in the starling 2. Also, for my endeavors, I don't need gps, so is there a way to prevent this error?

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @Nitin Varma Vegesna
        last edited by

        @Nitin-Varma-Vegesna 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 5. Set EKF2_GPS_CTRL to 0. Then reboot and see if the preflight error is cleared.

        Nitin Varma VegesnaN 2 Replies Last reply Reply Quote 0
        • Nitin Varma VegesnaN
          Nitin Varma Vegesna @Eric Katzfey
          last edited by

          @Eric-Katzfey Ok, also is there a way to buy the GPS chip since I did not see it on the available products?

          Eric KatzfeyE 1 Reply Last reply Reply Quote 0
          • Nitin Varma VegesnaN
            Nitin Varma Vegesna @Eric Katzfey
            last edited by

            @Eric-Katzfey Also, for EKF2_MASG_TYPe, my options are Automatic, Magnetic Heading, 3-axis, VTOL custom, MC custom, and None, which corresponds to 5?

            Eric KatzfeyE 1 Reply Last reply Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @Nitin Varma Vegesna
              last edited by

              @Nitin-Varma-Vegesna None

              Nitin Varma VegesnaN 1 Reply Last reply Reply Quote 0
              • Eric KatzfeyE
                Eric Katzfey ModalAI Team @Nitin Varma Vegesna
                last edited by

                @Nitin-Varma-Vegesna I think it's this one: https://store.3dr.com/mini-gps-ublox-max-m10s/

                Nitin Varma VegesnaN 1 Reply Last reply Reply Quote 0
                • Nitin Varma VegesnaN
                  Nitin Varma Vegesna @Eric Katzfey
                  last edited by

                  @Eric-Katzfey Ok, thank you!

                  1 Reply Last reply Reply Quote 0
                  • Nitin Varma VegesnaN
                    Nitin Varma Vegesna @Eric Katzfey
                    last edited by Nitin Varma Vegesna

                    @Eric-Katzfey Now, it arms successfully, even though it says Preflight Fail: heading estimate not stable and Preflight Fail: Yaw estimate error. Is this an issue?

                    Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                    • Eric KatzfeyE
                      Eric Katzfey ModalAI Team @Nitin Varma Vegesna
                      last edited by

                      @Nitin-Varma-Vegesna If you are just flying in manual or altitude hold modes then those shouldn't be an issue.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB | Contributors