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

    voxl-docker-mavsdk-python build issues

    VOXL
    6
    48
    3.9k
    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.
    • A
      Alexander Saunders @Alex Kushleyev
      last edited by Alexander Saunders 22 May 2024, 19:28 22 May 2024, 19:21

      @Alex-Kushleyev Good afternoon,

      I'm just following up with you to see if there an update with the process of enabling MAVSDK with the VOXL2.

      I did some research on my end and am getting conflicting information on what is necessary for the older VOXL and the VOXL2.

      In the section relating to VOXL2: https://docs.modalai.com/docker-on-voxl/#download--push-a-docker-image-to-voxl, voxl-configure-docker-support.sh is not recommended to be ran, but for the README from the link on MAVSDK on VOXL2, I'm told to run said command.

      I am aware the link above is in reference to Ubuntu, but the command is shared between VOXL and VOXL2 documentation.

      Also the location /data/docker/mavsdk does not exist that is referenced in the documentation, but /data directory does.

      Could you or someone else follow up with me on which parts of the documentation is for VOXL or VOXL2 so that I can pull down the docker image for MAVSDK. If just enabling the parameters and running the services for voxl-vision-hub and voxl-mavlink-server is all or going through the normal Docker install on VOXL2, can you share that.

      Thank you,
      Alexander

      Screenshot 2024-05-22 at 2.50.32 PM.png Screenshot 2024-05-22 at 3.20.42 PM.png Screenshot 2024-05-22 at 3.20.07 PM.png Screenshot 2024-05-22 at 3.09.43 PM.png

      E 2 Replies Last reply 22 May 2024, 19:54 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @Alexander Saunders
        last edited by Eric Katzfey 22 May 2024, 19:55 22 May 2024, 19:54

        @Alexander-Saunders VOXL has Docker pre-installed but you need to run voxl-configure-docker-support.sh in order to enable it. VOXL 2 does not have Docker pre-installed, but since it is a Debian-based platform you can just install Docker the standard way. For VOXL 2 you do not use voxl-configure-docker-support.sh.

        1 Reply Last reply Reply Quote 0
        • E
          Eric Katzfey ModalAI Team @Alexander Saunders
          last edited by 22 May 2024, 19:57

          @Alexander-Saunders You should try building the Docker container instead of downloading it from the repo since that seems to not be functional at the moment (Looking into it).

          A 2 Replies Last reply 22 May 2024, 20:32 Reply Quote 0
          • A
            Alexander Saunders @Eric Katzfey
            last edited by 22 May 2024, 20:32

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • A
              Alexander Saunders @Eric Katzfey
              last edited by 22 May 2024, 20:40

              @Eric-Katzfey Just to make sure I'm not misunderstanding you, you want me to the instructions below that is coming from: https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk-pythonScreenshot 2024-05-22 at 4.39.11 PM.png

              E 1 Reply Last reply 22 May 2024, 22:13 Reply Quote 0
              • E
                Eric Katzfey ModalAI Team @Alexander Saunders
                last edited by 22 May 2024, 22:13

                @Alexander-Saunders Yes

                A 1 Reply Last reply 23 May 2024, 13:24 Reply Quote 0
                • A
                  Alexander Saunders @Eric Katzfey
                  last edited by 23 May 2024, 13:24

                  @Eric-Katzfey Good morning Eric,

                  So I tried building the image for both voxl-docker-mavsdk & voxl-docker-mavsdk-python. I run into the same issue with both, adb: command not found. Additionally, with voxl-docker-mavsdk-python the common file is not found.

                  the ./build-image.sh was run on both directories in both SSH and ADB shell.

                  I am at a standstill with testing until I can get the docker image built. Any additional documentation is greatly appreciated!

                  Respectfully,
                  Alexander

                  Screenshot 2024-05-23 at 9.20.56 AM.png Screenshot 2024-05-23 at 9.05.11 AM.png Screenshot 2024-05-23 at 9.14.44 AM.png

                  E 1 Reply Last reply 23 May 2024, 15:43 Reply Quote 0
                  • E
                    Eric Katzfey ModalAI Team @Alexander Saunders
                    last edited by 23 May 2024, 15:43

                    @Alexander-Saunders You run build-image.sh on your host computer, not on the voxl

                    A 2 Replies Last reply 23 May 2024, 17:10 Reply Quote 0
                    • A
                      Alexander Saunders @Eric Katzfey
                      last edited by 23 May 2024, 17:10

                      @Eric-Katzfey Hey Eric, I'm running the ./build-image.sh on a laptop and am running into this error. Screenshot from 2024-05-23 13-02-42.png

                      E 1 Reply Last reply 24 May 2024, 15:33 Reply Quote 0
                      • A
                        Alexander Saunders @Eric Katzfey
                        last edited by 23 May 2024, 17:15

                        @Eric-Katzfey image.png

                        1 Reply Last reply Reply Quote 0
                        • E
                          Eric Katzfey ModalAI Team @Alexander Saunders
                          last edited by 24 May 2024, 15:33

                          @Alexander-Saunders Oh, the repo probably has the name master changed to main. Can you change the Dockerfile to try to use main instead of master and see if that works?

                          A 1 Reply Last reply 24 May 2024, 16:39 Reply Quote 0
                          • A
                            Alexander Saunders @Eric Katzfey
                            last edited by 24 May 2024, 16:39

                            @Eric-Katzfey No luck with that. Also the branch is a master. image (1).png

                            E 4 Replies Last reply 24 May 2024, 17:10 Reply Quote 0
                            • E
                              Eric Katzfey ModalAI Team @Alexander Saunders
                              last edited by 24 May 2024, 17:10

                              @Alexander-Saunders But that's a different problem. Before it was the checkout of master. This is something else.

                              A 1 Reply Last reply 24 May 2024, 17:29 Reply Quote 0
                              • E
                                Eric Katzfey ModalAI Team @Alexander Saunders
                                last edited by 24 May 2024, 17:11

                                @Alexander-Saunders I'll try it and see what happens.

                                1 Reply Last reply Reply Quote 0
                                • E
                                  Eric Katzfey ModalAI Team @Alexander Saunders
                                  last edited by 24 May 2024, 17:18

                                  @Alexander-Saunders Okay, yes, I see the same error. Sorry about that. Let me see if I can figure out what is going wrong.

                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    Eric Katzfey ModalAI Team @Alexander Saunders
                                    last edited by 24 May 2024, 17:20

                                    @Alexander-Saunders Can you try with the origin/ascend/docker branch of voxl-docker-mavsdk-python instead? Seems like that's where the latest updates have happened and haven't been merged back into master yet.

                                    A 1 Reply Last reply 24 May 2024, 17:40 Reply Quote 0
                                    • A
                                      Alexander Saunders @Eric Katzfey
                                      last edited by Alexander Saunders 24 May 2024, 17:34 24 May 2024, 17:29

                                      @Eric-Katzfey I went ahead and tried the voxl-docker-mavsdk repo also and get the same issue. I tried docker pull docker.io/arm64v8/ubuntu:bionic and giving the user permissions for the file/folder.

                                      What is stumping me is the registry-1.docker.io. I can ping it and do a DNS lookup just fine. Also pinging google is fine. But the error is persisting in relation to it.

                                      I will try the other branches for voxl-docker-mavsdk andvoxl-docker-mavsdk-python. Will that require changing main to the branch name for the DockerFile?

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        Alexander Saunders @Eric Katzfey
                                        last edited by Alexander Saunders 24 May 2024, 17:47 24 May 2024, 17:40

                                        @Eric-Katzfey image (2).png This is from the ascend branch

                                        E 1 Reply Last reply 26 May 2024, 17:03 Reply Quote 0
                                        • E
                                          Eric Katzfey ModalAI Team @Alexander Saunders
                                          last edited by 26 May 2024, 17:03

                                          @Alexander-Saunders Not sure why that is happening. That does not happen when I try it. I'm guessing that you have a networking issue of some sort or perhaps all this messing with Docker on the target has somehow corrupted it and it needs to be reinstalled.

                                          A 2 Replies Last reply 28 May 2024, 14:18 Reply Quote 0
                                          • A
                                            Alexander Saunders @Eric Katzfey
                                            last edited by 28 May 2024, 14:18

                                            @Eric-Katzfey So I deleted and re cloned voxl-docker-mavsdk-python branch ascend/docker. The build image failed halfway in. Is there any work that needs to be done on the VOXL2 or host computer that I am not aware of? Screenshot from 2024-05-28 10-15-10.png Screenshot from 2024-05-28 10-14-45.png

                                            1 Reply Last reply Reply Quote 0
                                            3 out of 48
                                            • First post
                                              3/48
                                              Last post
                                            Powered by NodeBB | Contributors