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

    Regarding building the mavsdk-python Docker image.

    VOXL 2
    2
    8
    436
    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 5 Jul 2024, 12:38

      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!

      E 2 Replies Last reply 5 Jul 2024, 16:14 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @cy208183395
        last edited by 5 Jul 2024, 16:14

        @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
        • E
          Eric Katzfey ModalAI Team @cy208183395
          last edited by 5 Jul 2024, 16:15

          @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 8 Jul 2024, 03:08 Reply Quote 0
          • C
            cy208183395 @Eric Katzfey
            last edited by 8 Jul 2024, 03:08

            @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 9 Jul 2024, 11:24

              @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!

              E 1 Reply Last reply 9 Jul 2024, 15:03 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @cy208183395
                last edited by 9 Jul 2024, 15:03

                @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 11 Jul 2024, 05:19 Reply Quote 0
                • C
                  cy208183395 @Eric Katzfey
                  last edited by 11 Jul 2024, 05:19

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

                  E 1 Reply Last reply 11 Jul 2024, 15:46 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @cy208183395
                    last edited by 11 Jul 2024, 15:46

                    @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
                    1 out of 8
                    • First post
                      1/8
                      Last post
                    Powered by NodeBB | Contributors