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. Opkg install voxl-streamer

Opkg install voxl-streamer

Scheduled Pinned Locked Moved Ask your questions right here!
32 Posts 7 Posters 8.1k Views 3 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.
  • Eric KatzfeyE Eric Katzfey

    @yu-zhang For #3, How did you configure the video input for QGC?

    yu zhangY Offline
    yu zhangY Offline
    yu zhang
    Regular
    wrote on last edited by
    #23

    @Eric-Katzfey , I have a look at the /etc/modalai/voxl-streamer.conf.

    It seems this config includes a set of different input and output settings. I am wondering if my issue may refer to this config? Do you have a document to introduce the mapping of this config?

    E.g., the second line is "configuration": "tracking". Does it mean the view showing in QGC will be related to the view of the tracking camera?

    As default, QGC will show which camera's view? If I would prefer to show the Hi-res view, how should I config it?

    I also simply try to type in 1.3333 for aspect ratio, but it seems it doesn't work.

    Eric KatzfeyE 1 Reply Last reply
    0
    • yu zhangY yu zhang

      @Eric-Katzfey , I have a look at the /etc/modalai/voxl-streamer.conf.

      It seems this config includes a set of different input and output settings. I am wondering if my issue may refer to this config? Do you have a document to introduce the mapping of this config?

      E.g., the second line is "configuration": "tracking". Does it mean the view showing in QGC will be related to the view of the tracking camera?

      As default, QGC will show which camera's view? If I would prefer to show the Hi-res view, how should I config it?

      I also simply try to type in 1.3333 for aspect ratio, but it seems it doesn't work.

      Eric KatzfeyE Offline
      Eric KatzfeyE Offline
      Eric Katzfey
      ModalAI Team
      wrote on last edited by
      #24

      @yu-zhang voxl-streamer documentation is located here: https://docs.modalai.com/voxl-streamer/

      yu zhangY 2 Replies Last reply
      0
      • Eric KatzfeyE Eric Katzfey

        @yu-zhang voxl-streamer documentation is located here: https://docs.modalai.com/voxl-streamer/

        yu zhangY Offline
        yu zhangY Offline
        yu zhang
        Regular
        wrote on last edited by
        #25

        @Eric-Katzfey Thanks, I double-check the config file, and it seems everything should be good. But there is still no video showing in QGC.

        I am wondering if QGC blocks the stream data. I tested both QGC 4.1.4 and the latest 4.2.0 on both my Macbooks (m1 and intel). They all cannot show the video correctly.

        I found QGC 4.1.1 got this issue on m1 Macbook, but it should already be fixed in the later versions.

        I am wondering what's your QGC version? Do you have a Macbook at hand? If so, could you please make a quick test to check if it's an issue with QGC?

        1 Reply Last reply
        0
        • Eric KatzfeyE Eric Katzfey

          @yu-zhang voxl-streamer documentation is located here: https://docs.modalai.com/voxl-streamer/

          yu zhangY Offline
          yu zhangY Offline
          yu zhang
          Regular
          wrote on last edited by
          #26

          Hi @Eric-Katzfey ,

          I tested using VLC on amd64 Macbook, and the streamer works well. It's all the same config as in QGC. So, I assume the latest QGC (4.1.4/4.2.0) still has the issue to fail receive streaming video on host PC.

          I will continue to work on my target and hope QGC will cover this issue soon later.

          Thanks again!

          Eric KatzfeyE 1 Reply Last reply
          0
          • ? A Former User

            Hi Yu,

            I've got answers to some of your questions, and will ping others to help with the rest.

            1. voxl-cross and voxl-emulator (and voxl-hexagon if you're trying to make apps that use the SDSP) are build environments. voxl-emulator has a lot of the rootfs from voxl, allowing you to use some of the proprietary libs like MVSDK on voxl (which is why it's behind a EULA). voxl-cross is intended to be a lighter-weight image with the proper toolchains to allow you to build code for use on voxl in a more user-friendly environment. For your use case, you'll want to clone voxl-vision-px4, modify (or add your own) offboard mode to do the behavior you want, rebuild it in voxl-cross, and then deploy it to your drone.

            2. As in 1, voxl-emulator is a build environment, we do not provide a simulator in there. If you want to test code against simulated data, you can use the voxl-logger command on voxl to log camera and imu data (look through the docs to make sure you include all the data you want), then disable the camera and imu services and use voxl-replay to replay the logs.

            3. Will ping others for this one

            4. All of the code that we provide is intended to run on the platform, not on your host pc. You should just run voxl-portal on the device (or enable the service to have it run in the background), and then you can view data in the browser.

            5. The source code for the figure eight offboard mode is here. There are parameters at the top that you can play with, and looking through this file would be the right starting point for how to write your own offboard mode. Additionally, if you want a more dynamic approach, we already support "offboard trajectory" which opens up a pipe in the filesystem for you to write a polynomial trajectory to have the drone fly, but note that it WILL fly the path, so if you're trying to play with that feature, start very carefully by writing a path from it's current location to fly forward a meter or something of the likes.

            6. The output of the vio algorithm is written via MPA to /run/mpa/qvio and can be accessed via an mpa pipe. An example of how to do this is the voxl-inspect-qvio tool, the source for which is here. I wouldn't exactly recommend trying to use an AI model for localization, as it'll run much more slowly than the VIO algorithm, which has been optimized for the hardware and outputs data much more frequently than it receives camera frames (as it uses the imu as well). For research purposes however, thish could be achieved with voxl-logger, which can log imu, camera, and vio data, which could then be used to train a model. You could then then use tflite server to run the model, and write your own offboard mode to take whatever data your model provides and behave as you wish.

            7. All of the raw camera data is published via MPA pipes to /run/mpa/{camera_name}. you can use voxl-logger to compress the data and write it to disk, or write a simple tool (using voxl-inspect-cam as a template for reading the raw data) and write it to a file.

            8. Will ping others for this one

            yu zhangY Offline
            yu zhangY Offline
            yu zhang
            Regular
            wrote on last edited by
            #27
            This post is deleted!
            yu zhangY 1 Reply Last reply
            0
            • yu zhangY yu zhang

              This post is deleted!

              yu zhangY Offline
              yu zhangY Offline
              yu zhang
              Regular
              wrote on last edited by
              #28
              This post is deleted!
              1 Reply Last reply
              0
              • yu zhangY yu zhang

                Hi @Eric-Katzfey ,

                I tested using VLC on amd64 Macbook, and the streamer works well. It's all the same config as in QGC. So, I assume the latest QGC (4.1.4/4.2.0) still has the issue to fail receive streaming video on host PC.

                I will continue to work on my target and hope QGC will cover this issue soon later.

                Thanks again!

                Eric KatzfeyE Offline
                Eric KatzfeyE Offline
                Eric Katzfey
                ModalAI Team
                wrote on last edited by
                #29

                @yu-zhang Can you please do us a big favor and ask your questions in separate posts instead just adding them all on to a single post? The forum is a resource for all of our customers and having each question in it's own forum posting makes it much easier for other people to benefit from the information in it. And regarding QGC 4.1.4, I use that version for testing but I am on a Linux Ubuntu 20.04 machine so maybe that's the difference.

                yu zhangY 1 Reply Last reply
                0
                • Eric KatzfeyE Eric Katzfey

                  @yu-zhang Can you please do us a big favor and ask your questions in separate posts instead just adding them all on to a single post? The forum is a resource for all of our customers and having each question in it's own forum posting makes it much easier for other people to benefit from the information in it. And regarding QGC 4.1.4, I use that version for testing but I am on a Linux Ubuntu 20.04 machine so maybe that's the difference.

                  yu zhangY Offline
                  yu zhangY Offline
                  yu zhang
                  Regular
                  wrote on last edited by
                  #30

                  @Eric-Katzfey Good to know that QGC 4.1.4 can work on Ubuntu.

                  All right, I will repost my lastest 2 questions in separate posts. Thanks for letting me know that.

                  1 Reply Last reply
                  0
                  • Steve TurnerS Offline
                    Steve TurnerS Offline
                    Steve Turner
                    wrote on last edited by
                    #31

                    Late to the party on this -- but I have been able to build ipk's off of an M1 recently.

                    I followed: https://docs.modalai.com/install-voxl-docker/

                    And then also downloaded the image from the developer portal as laid out: https://docs.modalai.com/voxl-cross/

                    To load:
                    docker load --input voxl-cross_V1.8.tar

                    To run:
                    voxl-docker -i voxl-cross:V1.8

                    Then the docs in all of the Modal repo's work well.

                    I do have buildkit etc enabled as laid out here: https://medium.com/nerd-for-tech/developing-on-apple-m1-silicon-with-virtual-environments-4f5f0765fd2f but you shouldn't need any of that. Let me know if that helps you. Worked just fine for me -- no special rosetta2 terminal or Docker version.

                    I'll see if I can contribute something to the docs when I have a moment.

                    yu zhangY 1 Reply Last reply
                    1
                    • Steve TurnerS Steve Turner

                      Late to the party on this -- but I have been able to build ipk's off of an M1 recently.

                      I followed: https://docs.modalai.com/install-voxl-docker/

                      And then also downloaded the image from the developer portal as laid out: https://docs.modalai.com/voxl-cross/

                      To load:
                      docker load --input voxl-cross_V1.8.tar

                      To run:
                      voxl-docker -i voxl-cross:V1.8

                      Then the docs in all of the Modal repo's work well.

                      I do have buildkit etc enabled as laid out here: https://medium.com/nerd-for-tech/developing-on-apple-m1-silicon-with-virtual-environments-4f5f0765fd2f but you shouldn't need any of that. Let me know if that helps you. Worked just fine for me -- no special rosetta2 terminal or Docker version.

                      I'll see if I can contribute something to the docs when I have a moment.

                      yu zhangY Offline
                      yu zhangY Offline
                      yu zhang
                      Regular
                      wrote on last edited by
                      #32

                      Hi @stevet Late to reply, and thanks so much for your instruction! It's great news for M1 developers like me 😉

                      I will have a try if it works well, and let you know then.

                      1 Reply Last reply
                      0

                      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