# Starling drone, nothing shows up in voxl-suite upon checking for version of sdk

Source: https://forum.modalai.com/topic/3064/starling-drone-nothing-shows-up-in-voxl-suite-upon-checking-for-version-of-sdk
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: starling
Posted: 2024-01-28 03:39:11 UTC by Darshit Desai
Replies: 11 · Views: 2279

## Darshit Desai · 2024-01-28 03:39:11 UTC

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

![340b4c0e-30fa-4002-bb5f-b36787f9ba0e-image.png](https://forum.modalai.com/assets/uploads/files/1706413132609-340b4c0e-30fa-4002-bb5f-b36787f9ba0e-image.png)

## Reply by Darshit Desai · 2024-01-28 04:09:38 UTC

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

## Reply by Darshit Desai · 2024-01-28 05:19:03 UTC (in reply to Darshit Desai)

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?

https://forum.modalai.com/post/14049

## Reply by Moderator (ModalAI staff) · 2024-01-28 21:02:29 UTC (in reply to Darshit Desai)

@Darshit-Desai update the full platform to the latest SDK, then just update the tflite server from dev.

## Reply by Darshit Desai · 2024-01-28 21:52:17 UTC (in reply to Moderator)

@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?

## Reply by Darshit Desai · 2024-01-29 04:17:54 UTC (in reply to Darshit Desai)

@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?

## Reply by Guest · 2024-01-29 05:34:18 UTC (in reply to Darshit Desai)

@Darshit-Desai 

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](https://console.cloud.google.com/storage/browser/platform-nightlies/voxl2;tab=objects?prefix=&forceOnObjectsSortingFiltering=true). `voxl-tflite-server` does come installed by default and you can run it by just calling `voxl-tflite-server` from within ADB.

Hope this helps!

Thomas Patton

## Reply by Darshit Desai · 2024-01-29 05:37:30 UTC (in reply to Moderator)

@Moderator said in [Starling drone, nothing shows up in voxl\-suite upon checking for version of sdk](/post/14356):
> 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=(%22StorageObjectListTable%22:(%22s%22:%5B(%22i%22:%22objectListDisplayFields%2FtimeLastModified%22,%22s%22:%221%22),(%22i%22:%22displayName%22,%22s%22:%220%22

## Reply by Guest · 2024-01-29 05:47:37 UTC (in reply to Darshit Desai)

@Darshit-Desai 

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](https://gitlab.com/voxl-public/voxl-sdk/services/voxl-tflite-server). Make sure to check out the `dev` branch so you can get my most recent changes with fixes.
* Set up `voxl-cross` and `voxl-docker` on your machine. We have a nice docs page for how to do that [here](https://docs.modalai.com/voxl-docker-and-cross-installation/). Most important will be the ability to spin up the `voxl-cross` image using Docker.
* Spin up the `voxl-cross` image in Docker. Make sure to do so either from the `voxl-tflite-server` directory or a directory that contains it.
* `cd` into `voxl-tflite-server` and then run `./install_build_deps qrb5165 staging && ./build.sh qrb5165 && ./make_package`. This will build the most recent `.deb` file for `voxl-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` for `voxl-tflite-server` with the changes!

Hope this helps,

Thomas Patton

## Reply by Darshit Desai · 2024-01-29 20:31:47 UTC (in reply to Guest)

@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?

![990781d7-99ad-4e25-9bf6-1486dd9f5255-Screenshot from 2024-01-29 15-31-13.png](https://forum.modalai.com/assets/uploads/files/1706560306181-990781d7-99ad-4e25-9bf6-1486dd9f5255-screenshot-from-2024-01-29-15-31-13.png) file:///home/swarm_researchers/Pictures/Screenshots/Screenshot%20from%202024-01-29%2015-31-13.png

## Reply by Guest · 2024-01-29 20:37:07 UTC (in reply to Darshit Desai)

@Darshit-Desai 

Those instructions seem outdated, follow the ones on the official Docker page [here](https://docs.docker.com/engine/install/ubuntu/).

Thomas

## Reply by Darshit Desai · 2024-01-29 22:30:23 UTC (in reply to Guest)

@thomas Thank you the update procedure worked and the results I posted in this thread

https://forum.modalai.com/post/14049
