Starling drone, nothing shows up in voxl-suite upon checking for version of sdk
-
Title describes the problem, I noticed this when I was following instructions of upgrading the sdk, the starling was bought back in Nov 23 and since then no sdk update has happened on it, this is the first time I have noticed it, is it safe to install the sdk using the process mentioned here (https://docs.modalai.com/flash-system-image/), knowing now that it didn't have any in the first place
-
I have tried to upgrade the sdk with one of the nightly builds which was suggested by @thomas for updating buggy tflite server, but it shows an error of px4 parameter update at the end, I have attached the terminal history of the sdk upgrade in the drive link below,
https://drive.google.com/file/d/1D96m3iXEv0DdgGROMq-ejzfnBwn5NjYp/view?usp=sharing
-
I was able to recover my drone by after falling back and installing sdk 1.0 in the starling but as mentioned in the issue here I need to install the nightly build to get the tflite server working, is there some way without wrecking the starling functionality?
-
@Darshit-Desai update the full platform to the latest SDK, then just update the tflite server from dev.
-
@Moderator Hi I was able to update the sdk yesterday till version 1.1.2, Can you tell me the method of just updating the tflite-server with the changes that @thomas did?
-
@Moderator do I need to use voxl-cross to build the modified tflite server? Is voxl-cross supposed to be installed on my desktop or the drone and at the end when I get the ipk file how do I install it?
-
Glad you were able to install SDK 1.1.2. However my
voxl-tflite-server
fixes aren't on that SDK release, they're only present in the nightlies which you can find here.voxl-tflite-server
does come installed by default and you can run it by just callingvoxl-tflite-server
from within ADB.Hope this helps!
Thomas Patton
-
@Moderator said in Starling drone, nothing shows up in voxl-suite upon checking for version of sdk:
then just update the tflite server from dev.
@thomas Actually I wanted to know what does this mean? Does it mean specifically building the voxl-tflite-server and then upgrading only that component? Since I cannot use the nightly build because of the px4 params error which keeps on coming up as described here https://forum.modalai.com/post/14348
Specifically this version of the sdk which was uploaded in another thread and said to contain the tflite changes, this has bugs which cause the sdk update to fail yesterday:
https://console.cloud.google.com/storage/browser/_details/platform-nightlies/voxl2/voxl2_SDK_nightly_20240117.tar.gz;tab=live_object?pageState=("StorageObjectListTable":("s":[("i":"objectListDisplayFields%2FtimeLastModified","s":"1"),("i":"displayName","s":"0" -
So yes, if you install the nightly you're saying you'll still get your PX4 error, I see. In that case, you're going to need to build
voxl-tflite-server
from source. The instructions for that are:- Clone the repo onto your local machine, the source code is here. Make sure to check out the
dev
branch so you can get my most recent changes with fixes. - Set up
voxl-cross
andvoxl-docker
on your machine. We have a nice docs page for how to do that here. Most important will be the ability to spin up thevoxl-cross
image using Docker. - Spin up the
voxl-cross
image in Docker. Make sure to do so either from thevoxl-tflite-server
directory or a directory that contains it. cd
intovoxl-tflite-server
and then run./install_build_deps qrb5165 staging && ./build.sh qrb5165 && ./make_package
. This will build the most recent.deb
file forvoxl-tflite-server
.- Now inside of your local machine (not
voxl-cross
) with your drone powered on and connected via usb, run the./deploy_to_voxl
script to deploy the updated debian
Now you'll have the latest
.deb
forvoxl-tflite-server
with the changes!Hope this helps,
Thomas Patton
- Clone the repo onto your local machine, the source code is here. Make sure to check out the
-
@thomas I wanted to ask about the instructions, it makes me uninstall/remove docker.io and other things but I have in my desktop pc docker containers. Will that be affected?
file:///home/swarm_researchers/Pictures/Screenshots/Screenshot%20from%202024-01-29%2015-31-13.png
-
Those instructions seem outdated, follow the ones on the official Docker page here.
Thomas
-
@thomas Thank you the update procedure worked and the results I posted in this thread