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

    Docker MAVSDK

    Ask your questions right here!
    4
    9
    248
    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.
    • Kiazoa JoaoK
      Kiazoa Joao
      last edited by

      Hello! I've been trying to run the voxl-docker-mavsdk-python, but I got the following errors. Does anybody know what's wrong? it says it can't find the image.

      python docker.png
      python1.png
      python3.png

      1 Reply Last reply Reply Quote 0
      • Zachary Lowell 0Z
        Zachary Lowell 0 ModalAI Team
        last edited by

        @Kiazoa-Joao so first you should be leveraging: https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk

        Voxl-docker-mavsdk-python is quite stale - the voxl-docker-mavsdk directory above is maintained and meant to run mavsdk python and c++ implementation.

        What this will do is build the docker image on the parent computer and then push the docker tarball onto the voxl2 to be loaded. Then the user can run it from the voxl2.

        Just follow the instructions in this repository and paste if you get any errors.
        Zach

        Gary HolmgrenG Kiazoa JoaoK 4 Replies Last reply Reply Quote 1
        • Gary HolmgrenG
          Gary Holmgren @Zachary Lowell 0
          last edited by

          @Zachary-Lowell-0 Is this supposed to be built with voxl-cross or qrb5165-emulator? I keep getting this error when trying to build on my machine.

          => ERROR [internal] load metadata for docker.io/arm64v8/ubuntu:focal      0.5s
          
          ERROR: failed to solve: arm64v8/ubuntu:focal: failed to resolve source metadata 
          for docker.io/arm64v8/ubuntu:focal: no match for platform in manifest: not found
          

          When using voxl-docker -i voxl-cross I cant seem to get it to build as it doesnt detect docker running on the host computer? I got it to build on the voxl2 fine but id like to be able to build it on my host machine as well. Not exactly sure what I am missing to do that. Any tips would be appreciated!

          Mohammad GoliM 1 Reply Last reply Reply Quote 0
          • Kiazoa JoaoK
            Kiazoa Joao @Zachary Lowell 0
            last edited by

            @Zachary-Lowell-0 I tried to follow the instructions and these are the errors I got. I tried it on a parent computer. Also, I don't have a Voxl2, I have a voxl-flight. is it only supposed to work on the voxl2?

            1 Reply Last reply Reply Quote 0
            • Kiazoa JoaoK
              Kiazoa Joao @Zachary Lowell 0
              last edited by

              @Zachary-Lowell-0 I get what you mean. I'll try to re-build it and let you know if get any errors. Thank you.

              1 Reply Last reply Reply Quote 0
              • Kiazoa JoaoK
                Kiazoa Joao @Zachary Lowell 0
                last edited by

                @Zachary-Lowell-0 I was able to build the image on a parent computer and then push it onto my voxl-flight. However, I am having a hard time running it. Can you please help me with that?
                error voxl-mavsdk.png

                Mohammad GoliM 1 Reply Last reply Reply Quote 0
                • Mohammad GoliM
                  Mohammad Goli @Gary Holmgren
                  last edited by

                  @Gary-Holmgren I have the same issue, same errors both with and without voxl-cross. Any luck with building on parent/host computer?

                  1 Reply Last reply Reply Quote 0
                  • Mohammad GoliM
                    Mohammad Goli @Kiazoa Joao
                    last edited by

                    @Kiazoa-Joao How did you build it on the target platform? Could you specify the exact commands you used? Did you encounter any errors like those reported by @Gary-Holmgren? Are you using voxl-cross to build it?

                    Kiazoa JoaoK 1 Reply Last reply Reply Quote 0
                    • Kiazoa JoaoK
                      Kiazoa Joao @Mohammad Goli
                      last edited by

                      @Mohammad-Goli I had a really hard time building it. This is basically what I did:
                      mavsdk.png

                      I had to manually build it.

                      After that, I just followed the instructions and this is what I got, but I found an error at the end.
                      mavsdk2.png

                      I had to use this command to be able to import the image:
                      cat /data/tmp/voxl-mavsdk:v1.2.tar.gz | docker import - voxl-mavsdk:v1.2

                      But now I can't run it. Hopefully, someone on here can help with this.

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