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

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. problems cloning MAVSDK Python docker from Gitlab

problems cloning MAVSDK Python docker from Gitlab

Scheduled Pinned Locked Moved Ask your questions right here!
16 Posts 3 Posters 2.3k Views 3 Watching
  • 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.
  • modaltbM Offline
    modaltbM Offline
    modaltb
    ModalAI Team
    wrote on last edited by modaltb
    #7

    Double checking, is the VOXL on a network? E.g. can you ping something on the internet?

    I'm without a VOXL just now but the image is online
    a323daab-02af-40d6-8edf-7baea4bbbe24-image.png

    P 1 Reply Last reply
    1
    • tomT Offline
      tomT Offline
      tom
      admin
      wrote on last edited by
      #8

      @parbat101 There is no difference between cloning via ssh and https in regard to the code. SSH just allows you to clone via. a key passes to GitLab and therefore you don't have to manually enter your gitlab user / pass when pulling and pushing to a repo.

      P 1 Reply Last reply
      1
      • modaltbM modaltb

        Double checking, is the VOXL on a network? E.g. can you ping something on the internet?

        I'm without a VOXL just now but the image is online
        a323daab-02af-40d6-8edf-7baea4bbbe24-image.png

        P Offline
        P Offline
        parbat101
        wrote on last edited by
        #9

        @modaltb Thank you for explaining.
        I couldnot connect internet on the voxl however I downloaded the files on the computer and used adb push to transfer those to VOXL.
        Then, I followed the steps to execte the example program given at:
        https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk-python

        The motors (without propellers,For Safety) did spin on the drones so I assumed the drone can fly autonomously using sample program provided in MAVSDK Python in Gitlab page mentioned above...
        However, when I connected the QGroundControl and tried connecting the Transmitter (DX6e, recommended with m500 in the website),it says manual control lost.
        Until Yesterday, I used to use the manual and position flight mode with the transmitter in the QGroundControl flawlessly but now I cannot connect the controller. "Manual Control Lost" appears on the screen.
        I am trying to connect the transmitter for Manual Kill Switch Mode.
        I have attached the picture of the problem below. Please let me know what could be the problem. Thank You.
        Screenshot from 2022-06-10 17-40-00.jpg

        1 Reply Last reply
        0
        • tomT tom

          @parbat101 There is no difference between cloning via ssh and https in regard to the code. SSH just allows you to clone via. a key passes to GitLab and therefore you don't have to manually enter your gitlab user / pass when pulling and pushing to a repo.

          P Offline
          P Offline
          parbat101
          wrote on last edited by
          #10

          @tom Thank you so much for explaining.

          1 Reply Last reply
          0
          • tomT Offline
            tomT Offline
            tom
            admin
            wrote on last edited by
            #11

            @parbat101 Someone else may answer with a better idea why you're seeing your issue but checkout this video if you haven't to see this program executed correctly: https://www.youtube.com/watch?v=c5xz5IDccr0

            P 1 Reply Last reply
            1
            • tomT Offline
              tomT Offline
              tom
              admin
              wrote on last edited by
              #12

              @parbat101 another example: https://www.youtube.com/watch?v=V3vVs8fEOZs

              P 1 Reply Last reply
              1
              • tomT tom

                @parbat101 another example: https://www.youtube.com/watch?v=V3vVs8fEOZs

                P Offline
                P Offline
                parbat101
                wrote on last edited by
                #13

                @tom Thank you for the video links. I will follow those videos.

                1 Reply Last reply
                0
                • tomT tom

                  @parbat101 Someone else may answer with a better idea why you're seeing your issue but checkout this video if you haven't to see this program executed correctly: https://www.youtube.com/watch?v=c5xz5IDccr0

                  P Offline
                  P Offline
                  parbat101
                  wrote on last edited by
                  #14

                  @tom The videos were super helpful and the drone worked as shown in the video.
                  To test other flight patterns, I want to edit the test file takeoff_and_land2.py file which I think is inside the docker images.
                  Can you please suggest me the best way to do it?

                  1 Reply Last reply
                  0
                  • P Offline
                    P Offline
                    parbat101
                    wrote on last edited by
                    #15

                    Thank you everyone for helping me. After I was able to solve the internet problem in the VOXL, everything was solved. All the problems I had in the threads above were mostly because of not having internet in the VOXL. It was hard to connect to University's wifi and Mobile hotspot did not work few times in the beginning. Yesterday, I was able to connect VOXL and Laptop to my mobile hotspot and everything was much easier.
                    I will keep working on the m500 drone and keep asking more questions in the forum as I progress.

                    1 Reply Last reply
                    0
                    • tomT Offline
                      tomT Offline
                      tom
                      admin
                      wrote on last edited by tom
                      #16

                      @parbat101 Since it is included in that image, one (bad) option is to modify the script and then re-build the Docker image and it will pull in the modified script.

                      The better solution that I would recommend is create a new script i.e my-script.py and then mount it inside the Docker image on run time using something like this:

                      docker run -it --rm --privileged --net=host  -v $(pwd)/my-script.py:/path/to/my-script.py gcr.io/modalai-public/voxl-mavsdk-python:v1.1 /bin/bash
                      

                      where you mount the script from your host os inside of the Docker container. You can read more about docker + mounting here: https://docs.docker.com/storage/bind-mounts/

                      This would allow you to modify the script on your host os, then run the above command to pull it into the docker container on run-time. Keep in mind if you modify the script inside of the docker container and then exit the container, the edits will be lost. So make sure you edit the script outside of the container and then re-run the above command to pull in the updated script.

                      Another note, /path/to/my-script.py will denote the path at which you would like to have the script live inside of the docker container, so you will need to modify that to your liking.

                      1 Reply Last reply
                      1

                      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

                      • Don't have an account? Register

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