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

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Dev Drones
  3. Starling & Starling 2
  4. Preflight Fail: Compass Sensor 0 missing

Preflight Fail: Compass Sensor 0 missing

Scheduled Pinned Locked Moved Starling & Starling 2
18 Posts 2 Posters 1.5k 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.
  • Nitin Varma VegesnaN Offline
    Nitin Varma VegesnaN Offline
    Nitin Varma Vegesna
    Contributor
    wrote on last edited by
    #1

    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
    0
    • Nitin Varma VegesnaN Nitin Varma Vegesna

      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 Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #2

      @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
      0
      • Eric KatzfeyE Eric Katzfey

        @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 Offline
        Nitin Varma VegesnaN Offline
        Nitin Varma Vegesna
        Contributor
        wrote on last edited by
        #3

        @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
        0
        • Eric KatzfeyE Eric Katzfey

          @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 Offline
          Nitin Varma VegesnaN Offline
          Nitin Varma Vegesna
          Contributor
          wrote on last edited by
          #4

          @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
          0
          • Nitin Varma VegesnaN Nitin Varma Vegesna

            @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 Offline
            Eric KatzfeyE Offline
            Eric Katzfey
            ModalAI Team
            wrote on last edited by
            #5

            @Nitin-Varma-Vegesna None

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

              @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 Offline
              Eric KatzfeyE Offline
              Eric Katzfey
              ModalAI Team
              wrote on last edited by
              #6

              @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
              0
              • Eric KatzfeyE Eric Katzfey

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

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

                @Eric-Katzfey Ok, thank you!

                1 Reply Last reply
                0
                • Eric KatzfeyE Eric Katzfey

                  @Nitin-Varma-Vegesna None

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

                  @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
                  0
                  • Nitin Varma VegesnaN 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 Offline
                    Eric KatzfeyE Offline
                    Eric Katzfey
                    ModalAI Team
                    wrote on last edited by
                    #9

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

                    Nitin Varma VegesnaN 2 Replies Last reply
                    0
                    • Eric KatzfeyE Eric Katzfey

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

                      Nitin Varma VegesnaN Offline
                      Nitin Varma VegesnaN Offline
                      Nitin Varma Vegesna
                      Contributor
                      wrote on last edited by
                      #10
                      This post is deleted!
                      Nitin Varma VegesnaN 1 Reply Last reply
                      0
                      • Nitin Varma VegesnaN Nitin Varma Vegesna

                        This post is deleted!

                        Nitin Varma VegesnaN Offline
                        Nitin Varma VegesnaN Offline
                        Nitin Varma Vegesna
                        Contributor
                        wrote on last edited by
                        #11
                        This post is deleted!
                        1 Reply Last reply
                        0
                        • Eric KatzfeyE Eric Katzfey

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

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

                          @Eric-Katzfey What about autonomous control indoors, and how could that be fixed if it's an issue? This is with a new GPS as well. Do I have to configure anything? Also, for the EKF2_GPS_CTRL, I reset to default: 7

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

                            @Eric-Katzfey What about autonomous control indoors, and how could that be fixed if it's an issue? This is with a new GPS as well. Do I have to configure anything? Also, for the EKF2_GPS_CTRL, I reset to default: 7

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

                            @Eric-Katzfey Screenshot 2026-02-03 at 11.46.43 PM.png

                            Here is an image of when I start autonomous exploration (not flying yet) but moving it with hand, I am getting these preflight errors that I used to not get.

                            This is with SYS_HAS_GPS, and SYS_HAS_MAG to 1, EKF2_MAG_TYPE = Automatic, EKF2_GPS_CTRL = 7

                            Also, voxl-inspect-gps is saying NO GPS for fix type:

                            dt(ms) |fix type|Sats|Latitude(deg)|Longitude(deg)| Alt(m) |Vel(m/s)|HorErr(m)|AltErr(m)|
                            129.5 | NO GPS | 0 | 0.0000000 | 0.0000000 | -17.0 | 0.00 | 4294967.295 | 4092465.408 |^C

                            Eric KatzfeyE 1 Reply Last reply
                            0
                            • Nitin Varma VegesnaN Nitin Varma Vegesna

                              @Eric-Katzfey Screenshot 2026-02-03 at 11.46.43 PM.png

                              Here is an image of when I start autonomous exploration (not flying yet) but moving it with hand, I am getting these preflight errors that I used to not get.

                              This is with SYS_HAS_GPS, and SYS_HAS_MAG to 1, EKF2_MAG_TYPE = Automatic, EKF2_GPS_CTRL = 7

                              Also, voxl-inspect-gps is saying NO GPS for fix type:

                              dt(ms) |fix type|Sats|Latitude(deg)|Longitude(deg)| Alt(m) |Vel(m/s)|HorErr(m)|AltErr(m)|
                              129.5 | NO GPS | 0 | 0.0000000 | 0.0000000 | -17.0 | 0.00 | 4294967.295 | 4092465.408 |^C

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

                              @Nitin-Varma-Vegesna If you re-install or update your SDK to the latest it will properly set all of the parameters.

                              Nitin Varma VegesnaN 1 Reply Last reply
                              0
                              • Eric KatzfeyE Eric Katzfey

                                @Nitin-Varma-Vegesna If you re-install or update your SDK to the latest it will properly set all of the parameters.

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

                                @Eric-Katzfey I would rather not delete everything outside of /data/, is there a way to reset the params of px4 another way? This issue only happens when I start exploration, and I move the drone up with my hand slightly, but why do I get FCU: Vision Failure.

                                Eric KatzfeyE 1 Reply Last reply
                                0
                                • Nitin Varma VegesnaN Nitin Varma Vegesna

                                  @Eric-Katzfey I would rather not delete everything outside of /data/, is there a way to reset the params of px4 another way? This issue only happens when I start exploration, and I move the drone up with my hand slightly, but why do I get FCU: Vision Failure.

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

                                  @Nitin-Varma-Vegesna You can set parameters via voxl-configure-px4-params.

                                  Nitin Varma VegesnaN 1 Reply Last reply
                                  0
                                  • Eric KatzfeyE Eric Katzfey

                                    @Nitin-Varma-Vegesna You can set parameters via voxl-configure-px4-params.

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

                                    @Eric-Katzfey That is what I did to reset the params prior to this happening.

                                    Eric KatzfeyE 1 Reply Last reply
                                    0
                                    • Nitin Varma VegesnaN Nitin Varma Vegesna

                                      @Eric-Katzfey That is what I did to reset the params prior to this happening.

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

                                      @Nitin-Varma-Vegesna Well, that's why I asked you to do the full SDK installation. If you install the SDK and set it up as we do from the factory then it should be working like when you first got it. If it doesn't then that potentially points to some damage caused by the crash and not some configuration change you have made since then.

                                      1 Reply Last reply
                                      0

                                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                      With your input, this post could be even better 💗

                                      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