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

    Issues with Docker, and WiFi connection

    VOXL m500 Reference Drone
    3
    10
    769
    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.
    • Steve SagerS
      Steve Sager
      last edited by

      Modal Dev's,

      The research team I'm on has been working to load our docker images to the M500 and ran into a number of issues. The WiFi on the aircraft will not connect to the local guest WiFi network (while in station mode) even after following the steps in the instructions: https://docs.modalai.com/wifi-setup/#configure-station-mode
      Althought we do not have WiFi on the aircraft, it is still able to be put into WiFi station mode. We then would use adb push on our docker assets to get our .tar files and such on the aircraft, but once it's on there, the aircraft fails to build the modified image correctly. https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk-python
      We successfully uploaded the python example to the aircraft, but we wanted to build off the examples provided to make our own C or Python code for docker.
      The main objective is to record the yaw inputs from the IMU and the Hires camera data. We are attempting to save this to the micro SD-card. What are your thoughts on how to do this data collection process using docker?
      We have inserted a 1 TB micro SD-card into the VOXL (front left slot) for storage expansion purposes.
      Screenshot from 2022-12-09 11-20-45.png

      1 Reply Last reply Reply Quote 0
      • Chad SweetC
        Chad Sweet ModalAI Team
        last edited by

        Why use Docker for this? voxl-logger is setup to do this for you already

        Steve SagerS 1 Reply Last reply Reply Quote 1
        • Steve SagerS
          Steve Sager @Chad Sweet
          last edited by

          @Chad-Sweet Honestly, I was following an old post (about a year or 2 old) on the forum that lead me to try to use the docker method. This way you suggest seems to be a much better solution for our first step in this project. Thanks for the quick response Chad, I'll attempt to use your suggestion. I'll post again about the results to wrap up with forum thread. Kind Regards, Steve

          1 Reply Last reply Reply Quote 0
          • Steve SagerS
            Steve Sager
            last edited by

            What is your suggested method of how to view the data logs created by the voxl-logger service? Also, will the voxl-logger be able to save the hires video data in a re-playable format?

            1 Reply Last reply Reply Quote 0
            • Steve SagerS
              Steve Sager
              last edited by

              I also do not see a way to record the hires camera data with the voxl-logger service.
              We are able to get docker running now, but we cannot use docker to find the hires camera and turn it on to start recording, any suggestions to make the hires camera discoverable by our CPP docker container?

              1 Reply Last reply Reply Quote 0
              • Steve SagerS
                Steve Sager
                last edited by

                We used voxl-docker to record hires data and position data from the aircraft and are attempting to use the data set for our project. I'll return with the result and post something short about it.

                1 Reply Last reply Reply Quote 0
                • Cristian AdamC
                  Cristian Adam
                  last edited by

                  does your wifi that it can't connect to have any special characters in the name or password that need to be escaped? (like spaces)

                  Steve SagerS 1 Reply Last reply Reply Quote 0
                  • Steve SagerS
                    Steve Sager @Cristian Adam
                    last edited by

                    @Cristian-Adam Yes the wifi ID name I'm trying to connect to has spaces, but to get around that you can just put a underscore where the space would be.

                    1 Reply Last reply Reply Quote 0
                    • Cristian AdamC
                      Cristian Adam
                      last edited by Cristian Adam

                      @Steve-Sager said in Issues with Docker, and WiFi connection:

                      The WiFi on the aircraft will not connect to the local guest WiFi network (while in station mode) even after following the steps in the instructions

                      Have you tried \ as an escape char before the _ or space of your wifi name in order to get it to connect (when running the adb shell voxl-wifi station <name> <password> command)

                      @Steve-Sager said in Issues with Docker, and WiFi connection:

                      @Cristian-Adam Yes the wifi ID name I'm trying to connect to has spaces, but to get around that you can just put a underscore where the space would be.

                      I'm not understanding if this means you were able to get the wifi working via a work-around or not, I needed to escape the underscore as well

                      Steve SagerS 1 Reply Last reply Reply Quote 0
                      • Steve SagerS
                        Steve Sager @Cristian Adam
                        last edited by

                        @Cristian-Adam The aircraft (M500) still does not connect to the WiFi at my office. Modal Devs and I are assuming my problem is related to the firewall settings IT set up at my work.

                        Although I type the command correctly and the aircraft finds the wifi, it cannot connect and fails.

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