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

    QVIO NO DATA - MAVLINK MISSING TOPICS

    VOXL 2
    2
    5
    35
    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.
    • A
      andrevs01
      last edited by

      Hi everyone

      We re developing a small robot with a voxl2 dev kit flight deck. We aally the imu), process it and control external inputs through a custom PCB with I2C.

      Our objective is to gather info from qVIO/VIO but right now we cant read data from the sensors... we only managed to do it through uorb using listeners (px4-listener vehicle_visual_odometry) but its not efficient to develop scripts that gather info from the listeners... we were hoping to subscribe to the topics using mavlink... When we attempt to check them on qground control or like this: https://docs.modalai.com/mavlink/#debugging-with-voxl-inspect-mavlink , doesnt have odometry listed (e.g.), and several others are missing.
      We already tried reconfiguring all the px4 parameters including the ekf2 and it still has the same error of missing data ... The only sensors that we are able to utilize for this project are the cameras (VIO) and px4 IMU.

      I was wondering if there is any special configuration that we re missing...or just simply the px4 isnt broadcasting through mavlink some of the topics but if that is the case ... What do you guys recommend? We are quite stuck.
      Thanks in advance.

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

        @andrevs01 I'm not really understanding your question. You seem to want access to VIO data. Is this for an application running on the VOXL 2? What VIO data do you need?

        A 1 Reply Last reply Reply Quote 0
        • A
          andrevs01 @Eric Katzfey
          last edited by

          @Eric-Katzfey Hi, thank you for the quick response.
          I'm sorry if my message wasn't clear. I want to access VIO data, especially the data from the attitude and translational: quaternions (q), angular velocity (w), general position of the robot (x), and linear velocity (v). I was hoping to get these parameters through the MAVLINK ODOMETRY #331 parameter, but it's inaccessible through QGroundControl, or the mavlink/mavsdk (voxl-inspect-mavlink mavlink_onboard)

          I ultimately aim to run an application inside the VOXL2 that subscribes to the topic, processes its information + some calculations, and delivers a command message through I2C for an external board that we developed for the control of our actuators.

          I can view the data through the QORB topic (using the px4-listener command), and it is working just fine... I just don't get why I can't access this data through MAVLINK.. any suggestions? We've tried manually enabling the streaming like this mavlink stream -u 14550 -s ODOMETRY -r 10 with no avail.

          I will send you some of the pictures of the errors we're getting / some of the outputs of commands.

          Thanks again in advance!!

          Imagem WhatsApp 2025-08-05 às 16.29.17_4a6e4099.jpg Imagem WhatsApp 2025-08-05 às 16.29.42_5ecf488f.jpg Imagem WhatsApp 2025-08-05 às 16.31.17_1f6fbc4d.jpg Imagem WhatsApp 2025-08-05 às 16.32.59_300dec30.jpg Imagem WhatsApp 2025-08-05 às 16.33.41_fc274dd2.jpg

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

            @andrevs01 voxl-vision-hub sends the Mavlink ODOMETRY message to PX4. Generally, VOXL applications send data around using Modal Pipe Architecture (MPA). If you need this information in your application you can subscribe to the pipe producing VIO data and get it straight from there. Or, you can get it via the Mavlink messages sent via MPA. I'm not sure why you cannot configure PX4 to send out the stream though. There are 2 streams sent out, one for QGC with lower bandwidth and one for onboard processes that has higher bandwidth.

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

              @andrevs01 You can see the PX4 start up script in /usr/bin/voxl-px4-start. You can see the streams being configured there.

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