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

    Not receiving VIO pose information from VOXL in QGC

    FAQs
    3
    5
    369
    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.
    • Prasad AntervediP
      Prasad Antervedi
      last edited by

      Hi!
      I have a m500 drone from modal AI. I have been following the 'getting started' guide provided here. I am able to connect to QGC from voxl and can see the red marker (in the QGC) rotate as I rotate the drone. However, I am not receiving any position information from the QGC. When I open the MAVLink inspector in QGC the planar coordinates (x, y) are always zero even when I translate the drone for a few meters. modal-ai-no-position.png
      The floor is textured so I do not think its due to the lack of features.
      Here is my voxl-vision-px4.conf file:
      {
      "qgc_ip": "192.168.8.64",
      "en_localhost_mavlink_udp": true,
      "en_secondary_qgc": false,
      "secondary_qgc_ip": "127.0.0.1",
      "en_vio": true,
      "en_voa": false,
      "en_send_vio_to_qgc": true,
      "en_send_voa_to_qgc": false,
      "en_mvl_video_stream": false,
      "en_adsb": false,
      "adsb_uart_bus": 7,
      "adsb_uart_baudrate": 57600,
      "en_offboard_figure_eight": false,
      "vio_to_ned_rotation_matrix": [[0, 1, 0], [1, 0, 0], [0, 0, -1]]
      }
      I have followed the tutorial very closely but haven't had any success with the VIO. Please let me know how can I debug this and get position estimates from VIO.
      Thank you 🙂

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Have you set your EFK2_AID_MASK to vio mode(280)?

        1 Reply Last reply Reply Quote 0
        • Prasad AntervediP
          Prasad Antervedi
          last edited by

          Yes it is set to 280.

          1 Reply Last reply Reply Quote 0
          • Jeremy SchmidtJ
            Jeremy Schmidt ModalAI Team
            last edited by

            Follow this link https://gitlab.com/voxl-public/flight-core-px4/px4-parameters and you can find our px4 parameters and helper parameters files for different features.

            Under "Helpers" you'll find our "Indoor_VIO_params". Try installing that helper file on top of your existing parameters. Reboot the drone and see if that helps.

            1 Reply Last reply Reply Quote 0
            • Prasad AntervediP
              Prasad Antervedi
              last edited by

              Thanks for your help. I realized that I hadn't configured the cameras correctly. I ran the voxl-configure-cameras and set it up correctly. Now I am getting the position estimates in QGC.

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