Docker MAVSDK
-
Hello! I've been trying to run the voxl-docker-mavsdk-python, but I got the following errors. Does anybody know what's wrong? it says it can't find the image.
-
@Kiazoa-Joao so first you should be leveraging: https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk
Voxl-docker-mavsdk-python is quite stale - the voxl-docker-mavsdk directory above is maintained and meant to run mavsdk python and c++ implementation.
What this will do is build the docker image on the parent computer and then push the docker tarball onto the voxl2 to be loaded. Then the user can run it from the voxl2.
Just follow the instructions in this repository and paste if you get any errors.
Zach -
@Zachary-Lowell-0 Is this supposed to be built with voxl-cross or qrb5165-emulator? I keep getting this error when trying to build on my machine.
=> ERROR [internal] load metadata for docker.io/arm64v8/ubuntu:focal 0.5s
ERROR: failed to solve: arm64v8/ubuntu:focal: failed to resolve source metadata for docker.io/arm64v8/ubuntu:focal: no match for platform in manifest: not found
When using
voxl-docker -i voxl-cross
I cant seem to get it to build as it doesnt detect docker running on the host computer? I got it to build on the voxl2 fine but id like to be able to build it on my host machine as well. Not exactly sure what I am missing to do that. Any tips would be appreciated! -
@Zachary-Lowell-0 I tried to follow the instructions and these are the errors I got. I tried it on a parent computer. Also, I don't have a Voxl2, I have a voxl-flight. is it only supposed to work on the voxl2?
-
@Zachary-Lowell-0 I get what you mean. I'll try to re-build it and let you know if get any errors. Thank you.
-
@Zachary-Lowell-0 I was able to build the image on a parent computer and then push it onto my voxl-flight. However, I am having a hard time running it. Can you please help me with that?
-
@Gary-Holmgren I have the same issue, same errors both with and without voxl-cross. Any luck with building on parent/host computer?
-
@Kiazoa-Joao How did you build it on the target platform? Could you specify the exact commands you used? Did you encounter any errors like those reported by @Gary-Holmgren? Are you using voxl-cross to build it?
-
@Mohammad-Goli I had a really hard time building it. This is basically what I did:
I had to manually build it.
After that, I just followed the instructions and this is what I got, but I found an error at the end.
I had to use this command to be able to import the image:
cat /data/tmp/voxl-mavsdk:v1.2.tar.gz | docker import - voxl-mavsdk:v1.2But now I can't run it. Hopefully, someone on here can help with this.