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

    Attitude Estimator Error

    VOXL 2
    3
    11
    604
    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.
    • M
      mawriyo
      last edited by

      I had purchased the voxl2 I/O board and got everything hooked up. Upon trying to calibrate the voxl2 over UDP an error "Attitude estimator not running, check system boot" is thrown. I tried using mavlink shell but according to https://docs.modalai.com/voxl2-px4-user-guide/#known-issues-and-limitations this is not available... Could you provide a guide to debugging messages on the flight controller similar to that of mavlink shell / nuttshell.

      1 Reply Last reply Reply Quote 0
      • modaltbM
        modaltb ModalAI Team
        last edited by

        Hi @mawriyo ,

        I just added some info that should help:
        https://docs.modalai.com/voxl2-px4-developer-guide/#how-to-access-the-px4-shell

        (Also, there's a known issue that when the PX4 process is killed (e.g. CTRL+C from the shell) the system freezes and needs a reboot)

        Please let me know if things aren't clear and we can update docs.

        1 Reply Last reply Reply Quote 0
        • M
          mawriyo
          last edited by mawriyo

          The following occurs
          https://imgur.com/a/dftsjQZ

          Apparently the file is too large... i apologize for the link 😕

          1 Reply Last reply Reply Quote 0
          • modaltbM
            modaltb ModalAI Team
            last edited by

            8c8472ed-2630-49af-a62a-01389fd4273d-image.png

            Shrunk it! ;). OK let me check into this

            1 Reply Last reply Reply Quote 0
            • modaltbM
              modaltb ModalAI Team
              last edited by

              @mawriyo ,

              Do you have an external mag/compass or no? I'm thinking maybe not, and if that's the case perhaps EKF2 is looking for mag data....

              I replicated during "level horizon" calibration if the mag is missing:
              46be0533-04c0-4212-9f0c-613719cf27f3-image.png

              In order to proceed without a mag, you can run the following (assuming PX4 is running already, and these commands are in a new terminal):

              # set to NONE
              px4-param set EKF2_MAG_TYPE 5
              
              # verify
              px4-param show EKF2_MAG_TYPE
              
              1 Reply Last reply Reply Quote 0
              • M
                mawriyo
                last edited by

                We are using an external gps + mag (Here3 gps combo) and wired up the system accordingly. We still are not able read data from either... Additionally we cannot get the voxl2 IO to register the voxl... IE We see a blue flashing led and a solid orange. We cant get that to become something we use...

                1 Reply Last reply Reply Quote 0
                • M
                  mawriyo
                  last edited by

                  Updating px4 fixed the blinking LED matter and we can Arm. (yay!) but we still are having issues connecting the HERE3 radio... please advise

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

                    @mawriyo Our PX4 implementation is custom for the VOXL 2 and usually requires some additional work when integrating new components. We normally use the Holybro GPS / Compass / LED units or the Matek units and so we can only say that those are known to be supported. Anything else, such as the Here3 unit, probably will need some extra work to integrate. How are you attaching the Here3 to the system? Do you have a wiring diagram that you can provide?

                    1 Reply Last reply Reply Quote 0
                    • M
                      mawriyo
                      last edited by mawriyo

                      Using https://ardupilot.org/copter/_images/here-plus-pixhawk.png as a reference...

                      5V -> 5V
                      GPSRX -> GNSS TX 3P3V
                      GPSTX -> GNSS RX 3P3V
                      I2C SCL -> MAG SCL 3P3V
                      I2C SDA -> MAG SDA 3P3V
                      Ground -> Ground

                      1:1
                      2:2
                      3:3
                      4:4
                      5:5
                      8:6

                      We also swapped RX and TX to double check.

                      Eric KatzfeyE 2 Replies Last reply Reply Quote 0
                      • Eric KatzfeyE
                        Eric Katzfey ModalAI Team @mawriyo
                        last edited by

                        @mawriyo Okay, looks like you have a Here+ GPS / Compass, not a Here3. Do you know which magnetometer is inside? Seems like some versions have HMC5883 which we should support now, and some have ICM20948 which we do not. However, adding new magnetometer support is usually relatively straight forward. I can't tell from your comments if you were successful in getting both GPS and Compass (magnetometer) running properly? You also mention a Here3 radio. Are you still having trouble with that? How are you trying to attach that to the system? Do you have any documentation on the Here3 radio that you are trying to use so that we can review it to understand how it is supposed to work. This is a new device for us and we have no experience with it.

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

                          @mawriyo Here3 GPS support is now available in voxl-px4 1.4.27 available here: http://voxl-packages.modalai.com/dists/qrb5165/dev/binary-arm64/voxl-px4_1.4.27-202209272330_arm64.deb. This needs to be used with the Here3 in "i2c mode" which means opening up the unit, placing the switch in the "i2c" position, and creating a custom wiring harness to route UART and i2c lines over to VOXL 2 J19. Launch voxl-px4 with the new -h flag to enable this new support. The Here3 unit has an ak09916 magnetometer and TCA62724FMG LED controller.

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