Issues with Docker, and WiFi connection
-
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.
-
Why use Docker for this? voxl-logger is setup to do this for you already
-
@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
-
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?
-
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? -
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.
-
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)
-
@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.
-
@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
-
@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.