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

    Regarding building the mavsdk-python Docker image.

    VOXL 2
    2
    8
    388
    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.
    • C
      cy208183395
      last edited by

      When I was preparing to follow the mavsdk-python tutorial , I encountered an issue with the command :

      voxl-configure-docker-support.sh
      

      2

      As a workaround, I tried using the command:

      ./build-image.sh
      

      to execute this repo, but then I faced this problem:

      1

      What should I do? My development board is VOXL2. Please help me, thank you!

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

        @cy208183395 Have you installed Docker on target? It doesn't come preinstalled. The documentation is here: https://docs.modalai.com/docker-on-voxl/#configuration

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

          @cy208183395 The voxl-configure-docker-support script is only used on VOXL. For VOXL 2 you need to install Docker and not run that script.

          C 2 Replies Last reply Reply Quote 0
          • C
            cy208183395 @Eric Katzfey
            last edited by

            @Eric-Katzfey said in Regarding building the mavsdk-python Docker image.:

            @cy208183395 The voxl-configure-docker-support script is only used on VOXL. For VOXL 2 you need to install Docker and not run that script.
            Thank you very much for your reply

            1 Reply Last reply Reply Quote 0
            • C
              cy208183395 @Eric Katzfey
              last edited by

              @Eric-Katzfey

              I encountered a new problem. After I installed Docker as you suggested this website .I successfully started and ran it:

              1.png
              &&
              2.png

              But when I followed the tutorial to download the repository and executed the command

              ./build-image.sh
              

              it showed "command not found":
              4.png

              I tried setting the environment variable, but it still didn't work.

              Then I continued to watch the tutorial video, entered the voxl2 shell, navigated to the folder /data/docker/mavsdk, and executed the command ./run-docker.sh. It still showed that the docker command was not found:
              6.png

              This means that whether I am in the voxl2 shell environment or not, the docker command is not found.

              Can you help me? I followed your requirements, but I am stuck here. Please help me, thank you!

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

                @cy208183395 Did you install Docker on your host machine or on VOXL 2? It needs to be installed on VOXL 2.

                C 1 Reply Last reply Reply Quote 0
                • C
                  cy208183395 @Eric Katzfey
                  last edited by

                  @Eric-Katzfey Yes, I currently have Docker installed on my host machine, but it is not installed on the voxl2.

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

                    @cy208183395 Yes, well then that is your problem. When you try to run it on VOXL 2 and you don't have Docker installed on VOXL 2 then you will see an error like docker: command not found. You have to install Docker on VOXL 2.

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