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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. MAVLink Odometry X Y value 0

MAVLink Odometry X Y value 0

Scheduled Pinned Locked Moved Ask your questions right here!
78 Posts 4 Posters 36.2k Views 2 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.
  • KrisK Offline
    KrisK Offline
    Kris
    Regular
    wrote on last edited by Kris
    #64

    @Chad-Sweet
    I really do appreciate you helping me with this.
    Thank you! 🙏

    1 Reply Last reply
    0
    • KrisK Offline
      KrisK Offline
      Kris
      Regular
      wrote on last edited by
      #65

      Hi,
      If the problem is coming from PX4, how should I go about resolving it? Should I be speaking with PX4 support instead of ModalAi?

      1 Reply Last reply
      0
      • KrisK Offline
        KrisK Offline
        Kris
        Regular
        wrote on last edited by Kris
        #66

        @Chad-Sweet @Adrian-Hidalgo ,
        For PX4 confirmation, here is my voxl vision status.

        voxl:~$ systemctl status voxl-vision-px4 -l
        ● voxl-vision-px4.service - voxl-vision-px4
           Loaded: loaded (/usr/bin/voxl-vision-px4; enabled; vendor preset: enabled)
           Active: active (running) since Thu 1970-01-01 00:00:06 UTC; 52 years 8 months ago
         Main PID: 2073 (voxl-vision-px4)
           CGroup: /system.slice/voxl-vision-px4.service
                   └─2073 /usr/bin/voxl-vision-px4
        
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: ERROR validating VIO data received through pipe: read partial packet
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: read 156 bytes, but it should be a multiple of 324
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: ERROR validating VIO data received through pipe: read partial packet
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: read 156 bytes, but it should be a multiple of 324
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: ERROR validating VIO data received through pipe: read partial packet
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: read 156 bytes, but it should be a multiple of 324
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: ERROR validating VIO data received through pipe: read partial packet
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: read 156 bytes, but it should be a multiple of 324
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: ERROR validating VIO data received through pipe: read partial packet
        Sep 02 16:25:57 apq8096 voxl-vision-px4[2073]: read 156 bytes, but it should be a multiple of 324
        voxl:~$ 
        

        Could this be a time/clock, or a watchdog timer issue?

        Active: active (running) since Thu 1970-01-01 00:00:06 UTC; 52 years 8 months ago
        
        1 Reply Last reply
        0
        • James StrawsonJ Offline
          James StrawsonJ Offline
          James Strawson
          ModalAI Team
          wrote on last edited by
          #67

          Hi Kris

          It looks like the voxl-vision-px4 and voxl-qvio-server versions have gotten out of sync, likely voxl-vision-px4 has been updated but voxl-qvio-server was not.

          Do you mind proving the output from the following 3 commands so I can check the state of the opkg package manager

          cat /etc/opkg/opkg.conf 
          opkg info voxl-vision-px4
          opkg info voxl-qvio-server
          

          Thanks,
          James

          KrisK 1 Reply Last reply
          0
          • James StrawsonJ James Strawson

            Hi Kris

            It looks like the voxl-vision-px4 and voxl-qvio-server versions have gotten out of sync, likely voxl-vision-px4 has been updated but voxl-qvio-server was not.

            Do you mind proving the output from the following 3 commands so I can check the state of the opkg package manager

            cat /etc/opkg/opkg.conf 
            opkg info voxl-vision-px4
            opkg info voxl-qvio-server
            

            Thanks,
            James

            KrisK Offline
            KrisK Offline
            Kris
            Regular
            wrote on last edited by Kris
            #68

            Hi @James-Strawson , thank you. Here are the outputs you have requested.

            ################################################################
            ## This file has been automatically generated.
            ## Please use voxl-configure-opkg to modify it.
            ################################################################
            dest root /
            option lists_dir /var/lib/opkg/lists
            arch all 1
            arch arm64 7
            
            src/gz modalai http://voxl-packages.modalai.com/dists/apq8096/stable/binary-arm64/
            
            voxl:~$ opkg info voxl-vision-px4
            Package: voxl-vision-px4
            Version: 1.2.0
            Depends: librc-math, libmodal-pipe (>= 2.4.0), libmodal-json, voxl-mpa-tools (>= 0.2.5), voxl-mavlink-server, libmodal-cv (>= 0.1.0)
            Status: install user installed
            Section: base
            Architecture: arm64
            Maintainer: James Strawson <james@modalai.com>
            MD5Sum: 4bcff955596c2a5964d68cacf60d08a8
            Size: 106864
            Filename: voxl-vision-px4_1.2.0.ipk
            Description: Interface between VOXL's computer vision services and PX4
            Installed-Time: 1661276328
            
            voxl:~$ opkg info voxl-qvio-server
            Package: voxl-qvio-server
            Version: 0.7.1
            Depends: libmodal-pipe (>= 2.4.0), libmodal-json (>= 0.4.0), voxl-mpa-tools (>= 0.7.0)
            Status: unknown ok not-installed
            Section: base
            Architecture: arm64
            Maintainer: james@modalai.com
            MD5Sum: 2ccb793c2d7059217d9d32b54564352b
            Size: 55416
            Filename: voxl-qvio-server_0.7.1.ipk
            Description: publishes QVIO data over named pipe interface
            
            Package: voxl-qvio-server
            Version: 0.4.6
            Depends: libmodal-pipe (>= 2.0.0), libmodal-json (>= 0.4.0), voxl-mpa-tools
            Status: install ok installed
            Architecture: arm64
            Installed-Time: 6815
            

            qvio-server version 0.7.1 status: unknown ok not-installed

            voxl:~$ opkg list-installed | grep "libmodal"
            libmodal-cv - 0.1.0
            libmodal-exposure - 0.0.7
            libmodal-json - 0.4.2
            libmodal-pipe - 2.4.0
            
            1 Reply Last reply
            0
            • James StrawsonJ Offline
              James StrawsonJ Offline
              James Strawson
              ModalAI Team
              wrote on last edited by James Strawson
              #69

              Yes, It seems your installed voxl-vision-px4 and libmodal_pipe versions are from SDK 0.8 wheras your voxl-qvio-server is from SDK 0.7, that is the source of the mismatch.

              You can upgrade qvio server with opkg install voxl-qvio-server to fix the mismatch quickly but I would recommend just flashing back to the SDK 0.7 platform release since SDK 0.8 does not support TOF on VOXL1. The platform releases are tested as a whole an include a set of packages all known to work together. When individual packages get upgraded instead of the whole SDK together then things tend to break.

              KrisK 2 Replies Last reply
              1
              • James StrawsonJ James Strawson

                Yes, It seems your installed voxl-vision-px4 and libmodal_pipe versions are from SDK 0.8 wheras your voxl-qvio-server is from SDK 0.7, that is the source of the mismatch.

                You can upgrade qvio server with opkg install voxl-qvio-server to fix the mismatch quickly but I would recommend just flashing back to the SDK 0.7 platform release since SDK 0.8 does not support TOF on VOXL1. The platform releases are tested as a whole an include a set of packages all known to work together. When individual packages get upgraded instead of the whole SDK together then things tend to break.

                KrisK Offline
                KrisK Offline
                Kris
                Regular
                wrote on last edited by
                #70

                @James-Strawson
                Thank you, I will try this 👍

                1 Reply Last reply
                0
                • James StrawsonJ James Strawson

                  Yes, It seems your installed voxl-vision-px4 and libmodal_pipe versions are from SDK 0.8 wheras your voxl-qvio-server is from SDK 0.7, that is the source of the mismatch.

                  You can upgrade qvio server with opkg install voxl-qvio-server to fix the mismatch quickly but I would recommend just flashing back to the SDK 0.7 platform release since SDK 0.8 does not support TOF on VOXL1. The platform releases are tested as a whole an include a set of packages all known to work together. When individual packages get upgraded instead of the whole SDK together then things tend to break.

                  KrisK Offline
                  KrisK Offline
                  Kris
                  Regular
                  wrote on last edited by Kris
                  #71

                  @James-Strawson could you please help me with flashing back to SDK 0.7 or provide a link explaining how to flash back to a lower SDK?
                  This can be done over ssh right? Or do I need to ADB into voxl?

                  1 Reply Last reply
                  0
                  • James StrawsonJ Offline
                    James StrawsonJ Offline
                    James Strawson
                    ModalAI Team
                    wrote on last edited by
                    #72

                    Instructions here: https://docs.modalai.com/flash-system-image/

                    The latest platform release for voxl1 is voxl_platform_3.8.0-0.7.tar available for download here https://developer.modalai.com/asset/1

                    KrisK 1 Reply Last reply
                    0
                    • James StrawsonJ James Strawson

                      Instructions here: https://docs.modalai.com/flash-system-image/

                      The latest platform release for voxl1 is voxl_platform_3.8.0-0.7.tar available for download here https://developer.modalai.com/asset/1

                      KrisK Offline
                      KrisK Offline
                      Kris
                      Regular
                      wrote on last edited by
                      #73

                      @James-Strawson oh ok, now I remember 🤣
                      Cheers mate! 👍

                      1 Reply Last reply
                      0
                      • KrisK Offline
                        KrisK Offline
                        Kris
                        Regular
                        wrote on last edited by
                        #74

                        @Chad-Sweet @Adrian-Hidalgo @James-Strawson
                        Everything is working now! THANK YOU so much for all your help!!!

                        1 Reply Last reply
                        0
                        • KrisK Offline
                          KrisK Offline
                          Kris
                          Regular
                          wrote on last edited by Kris
                          #75
                          This post is deleted!
                          1 Reply Last reply
                          0
                          • KrisK Offline
                            KrisK Offline
                            Kris
                            Regular
                            wrote on last edited by Kris
                            #76
                            This post is deleted!
                            1 Reply Last reply
                            0
                            • KrisK Offline
                              KrisK Offline
                              Kris
                              Regular
                              wrote on last edited by
                              #77
                              This post is deleted!
                              1 Reply Last reply
                              0
                              • KrisK Offline
                                KrisK Offline
                                Kris
                                Regular
                                wrote on last edited by
                                #78
                                This post is deleted!
                                1 Reply Last reply
                                0
                                • D DavideColetti referenced this topic on

                                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