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

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. VOXL SDK
  4. Getting mavsdk server running on voxl2

Getting mavsdk server running on voxl2

Scheduled Pinned Locked Moved VOXL SDK
7 Posts 3 Posters 1.4k Views
  • 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.
  • B Offline
    B Offline
    binu.abraham
    wrote on last edited by
    #1

    I have a voxl2 drone, I can ssh to it, but can't adb in right now.
    I am trying to follow the instructions on https://docs.modalai.com/mavsdk/ But cannot find the voxl-mavsdk.tar file that is referenced in the video in the download.
    So I have tried to build it using the docker https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk. But the build.sh assumes the device is connected via adb .
    I tried running those commands from the ssh shell , but I couldn't find voxl-configure-docker-support.sh.
    Is there a different set of instructions for voxl2 ?

    B 1 Reply Last reply
    0
    • B binu.abraham

      I have a voxl2 drone, I can ssh to it, but can't adb in right now.
      I am trying to follow the instructions on https://docs.modalai.com/mavsdk/ But cannot find the voxl-mavsdk.tar file that is referenced in the video in the download.
      So I have tried to build it using the docker https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk. But the build.sh assumes the device is connected via adb .
      I tried running those commands from the ssh shell , but I couldn't find voxl-configure-docker-support.sh.
      Is there a different set of instructions for voxl2 ?

      B Offline
      B Offline
      binu.abraham
      wrote on last edited by
      #2

      @binu-abraham I found the voxl-configure-docker-support script, trying to run it now

      B 1 Reply Last reply
      0
      • B binu.abraham

        @binu-abraham I found the voxl-configure-docker-support script, trying to run it now

        B Offline
        B Offline
        binu.abraham
        wrote on last edited by
        #3

        @binu-abraham Is there a pre-built docker image for mavsdk server on voxl2 ?

        B B 2 Replies Last reply
        0
        • B binu.abraham

          @binu-abraham Is there a pre-built docker image for mavsdk server on voxl2 ?

          B Offline
          B Offline
          binu.abraham
          wrote on last edited by
          #4

          @binu-abraham
          Wanted to post about how I got this working finally
          I was having issues with docker build ( would segfault on ubuntu) and building the mavsdk from source ( while running the binary on voxl2, it complained that glibc was missing ) , so I finally downloaded the mavsdk_server_linux-arm64-musl from https://github.com/mavlink/MAVSDK/releases

          Followed the instructions to set the vision hub prameters from https://docs.modalai.com/mavsdk/

          Started the mavsdk-server
          ./mavsdk_server_linux-arm64-musl -p 50051 udpin://0.0.0.0:14550

          From the android app
          drone = System(
          <drone IP address>,
          50051 // -p parameter for mavsdk-server
          )
          Don't call mavsdkServer.run as mavsdkserver is already running in voxl2

          B 1 Reply Last reply
          0
          • B binu.abraham

            @binu-abraham
            Wanted to post about how I got this working finally
            I was having issues with docker build ( would segfault on ubuntu) and building the mavsdk from source ( while running the binary on voxl2, it complained that glibc was missing ) , so I finally downloaded the mavsdk_server_linux-arm64-musl from https://github.com/mavlink/MAVSDK/releases

            Followed the instructions to set the vision hub prameters from https://docs.modalai.com/mavsdk/

            Started the mavsdk-server
            ./mavsdk_server_linux-arm64-musl -p 50051 udpin://0.0.0.0:14550

            From the android app
            drone = System(
            <drone IP address>,
            50051 // -p parameter for mavsdk-server
            )
            Don't call mavsdkServer.run as mavsdkserver is already running in voxl2

            B Offline
            B Offline
            brahim
            Contributor
            wrote on last edited by
            #5

            @binu-abraham you can do an scp of the get_docker.sh script here on to the voxl2 and then run it.

            Most of the voxl suite packages assume you have an adb connection.

            As for building the docker image over ssh, I would just clone down voxl-docker-mavsdk on to the voxl2 itself, change directory to voxl-docker-mavsdk, and then just run the following command:

            docker build . -t mavsdk --network=host
            
            

            This should build an ubuntu focal image with mavsdk + all dependencies as well as the takeoff and land example

            L 1 Reply Last reply
            0
            • B binu.abraham

              @binu-abraham Is there a pre-built docker image for mavsdk server on voxl2 ?

              B Offline
              B Offline
              brahim
              Contributor
              wrote on last edited by
              #6

              @binu-abraham I do not believe modalai has images on docker hub or any other docker repo. The gitlab repo has all of the Dockerfiles though.

              1 Reply Last reply
              0
              • B brahim

                @binu-abraham you can do an scp of the get_docker.sh script here on to the voxl2 and then run it.

                Most of the voxl suite packages assume you have an adb connection.

                As for building the docker image over ssh, I would just clone down voxl-docker-mavsdk on to the voxl2 itself, change directory to voxl-docker-mavsdk, and then just run the following command:

                docker build . -t mavsdk --network=host
                
                

                This should build an ubuntu focal image with mavsdk + all dependencies as well as the takeoff and land example

                L Offline
                L Offline
                luisdelavega
                wrote on last edited by
                #7

                @brahim Thanks for this advice!

                I'm working on Windows with WSL and it is impossible for me to build the docker image by following the instructions on the voxl-docker-mavsdk README.

                I'm still unsure why the image build on the VOXL and not on my WSL Ubuntu, but at least I got it to work.

                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

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups