Voxl Docker Mavsdk Python
-
I was trying to build the python mavsdk voxl docker image for my Modal M500 on a voxl one with Voxl SDK 1.2.0 installed https://gitlab.com/voxl-public/voxl-docker-images/voxl-docker-mavsdk-python However when I run build.sh, I get the following error:
./build-image.sh
Image: voxl-mavsdk-python:v1.1
Waiting for device...
Checking for docker support...
-> Docker support not detected, running docker support on target...
/bin/sh: voxl-configure-docker-support.sh: not found
Building image: voxl-mavsdk-python:v1.1
Dockerfile: 1 file pushed. 0.3 MB/s (811 bytes in 0.002s)
takeoff_and_land2.py: 1 file pushed. 0.4 MB/s (941 bytes in 0.002s)
offboard_position_ned2.py: 1 file pushed. 1.8 MB/s (2227 bytes in 0.001s)
start-mavsdk-server.sh: 1 file pushed. 0.1 MB/s (109 bytes in 0.001s)
Sending build context to Docker daemon 8.192 kB
Step 1 : FROM arm64v8/ubuntu:bionic
Pulling repository docker.io/arm64v8/ubuntu
Error while pulling image: Get https://index.docker.io/v1/repositories/arm64v8/ubuntu/images: dial tcp: lookup index.docker.io on 8.8.8.8:53: dial udp 8.8.8.8:53: connect: network is unreachableThe drone is connected to the computer via USB and I have a connection via adb shell. Anyone know how to fix this?
-
@Samuel-Bryan Is your VOXL connected to the internet?
-
@tom I thought it was, it appears it isn't. How do I connect it to the internet?
-
@Samuel-Bryan To test if it's connected to the internet, try pinging a website like:
ping google.com
If connected you'll see something like this:
~ ping google.com ok | 09:39:00 AM PING google.com (142.250.217.142) 56(84) bytes of data. 64 bytes from lax31s19-in-f14.1e100.net (142.250.217.142): icmp_seq=1 ttl=56 time=5.12 ms 64 bytes from lax31s19-in-f14.1e100.net (142.250.217.142): icmp_seq=2 ttl=56 time=5.65 ms 64 bytes from lax31s19-in-f14.1e100.net (142.250.217.142): icmp_seq=3 ttl=56 time=5.41 ms 64 bytes from lax31s19-in-f14.1e100.net (142.250.217.142): icmp_seq=4 ttl=56 time=4.83 ms ^C --- google.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3005ms rtt min/avg/max/mdev = 4.830/5.253/5.653/0.309 ms ~
See here for info on connecting your VOXL to the internet:
https://docs.modalai.com/voxl-wifi-setup/#configuration-and-connection