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

    MAVLink Odometry X Y value 0

    Ask your questions right here!
    4
    78
    6.2k
    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.
    • K
      Kris
      last edited by Kris 2 Sept 2022, 04:52 2 Sept 2022, 04:47

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

      1 Reply Last reply Reply Quote 0
      • K
        Kris
        last edited by 2 Sept 2022, 15:58

        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 Reply Quote 0
        • K
          Kris
          last edited by Kris 2 Sept 2022, 16:31 2 Sept 2022, 16:28

          @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 Reply Quote 0
          • J
            James Strawson ModalAI Team
            last edited by 2 Sept 2022, 17:37

            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

            K 1 Reply Last reply 2 Sept 2022, 17:47 Reply Quote 0
            • K
              Kris @James Strawson
              last edited by Kris 2 Sept 2022, 18:01 2 Sept 2022, 17:47

              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 Reply Quote 0
              • J
                James Strawson ModalAI Team
                last edited by James Strawson 2 Sept 2022, 18:05 2 Sept 2022, 18:04

                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.

                K 2 Replies Last reply 2 Sept 2022, 18:06 Reply Quote 1
                • K
                  Kris @James Strawson
                  last edited by 2 Sept 2022, 18:06

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

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kris @James Strawson
                    last edited by Kris 2 Sept 2022, 19:15 2 Sept 2022, 19:14

                    @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 Reply Quote 0
                    • J
                      James Strawson ModalAI Team
                      last edited by 2 Sept 2022, 19:21

                      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

                      K 1 Reply Last reply 2 Sept 2022, 19:50 Reply Quote 0
                      • K
                        Kris @James Strawson
                        last edited by 2 Sept 2022, 19:50

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

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kris
                          last edited by 2 Sept 2022, 20:19

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

                          1 Reply Last reply Reply Quote 0
                          • K
                            Kris
                            last edited by Kris 2 Sept 2022, 21:17 2 Sept 2022, 21:10

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • K
                              Kris
                              last edited by Kris 2 Sept 2022, 21:25 2 Sept 2022, 21:21

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • K
                                Kris
                                last edited by 2 Sept 2022, 21:32

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • K
                                  Kris
                                  last edited by 2 Sept 2022, 23:39

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • D DavideColetti referenced this topic on 11 Aug 2023, 08:53
                                  64 out of 78
                                  • First post
                                    64/78
                                    Last post
                                  Powered by NodeBB | Contributors