• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
ModalAI Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
    • Register
    • Login

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

    Starling & Starling 2
    3
    12
    502
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      Darshit Desai @Darshit Desai
      last edited by 28 Jan 2024, 04:09

      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

      D 1 Reply Last reply 28 Jan 2024, 05:19 Reply Quote 0
      • D
        Darshit Desai @Darshit Desai
        last edited by 28 Jan 2024, 05:19

        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

        M 1 Reply Last reply 28 Jan 2024, 21:02 Reply Quote 0
        • M
          Moderator ModalAI Team @Darshit Desai
          last edited by 28 Jan 2024, 21:02

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

          D 2 Replies Last reply 28 Jan 2024, 21:52 Reply Quote 0
          • D
            Darshit Desai @Moderator
            last edited by 28 Jan 2024, 21:52

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

            D 1 Reply Last reply 29 Jan 2024, 04:17 Reply Quote 0
            • D
              Darshit Desai @Darshit Desai
              last edited by 29 Jan 2024, 04:17

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

              ? 1 Reply Last reply 29 Jan 2024, 05:34 Reply Quote 0
              • ?
                A Former User @Darshit Desai
                last edited by 29 Jan 2024, 05:34

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

                1 Reply Last reply Reply Quote 0
                • D
                  Darshit Desai @Moderator
                  last edited by Darshit Desai 29 Jan 2024, 05:46 29 Jan 2024, 05:37

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

                  ? 1 Reply Last reply 29 Jan 2024, 05:47 Reply Quote 0
                  • ?
                    A Former User @Darshit Desai
                    last edited by 29 Jan 2024, 05:47

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

                    D 1 Reply Last reply 29 Jan 2024, 20:31 Reply Quote 0
                    • D
                      Darshit Desai @Guest
                      last edited by 29 Jan 2024, 20:31

                      @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 file:///home/swarm_researchers/Pictures/Screenshots/Screenshot%20from%202024-01-29%2015-31-13.png

                      ? 1 Reply Last reply 29 Jan 2024, 20:37 Reply Quote 0
                      • ?
                        A Former User @Darshit Desai
                        last edited by 29 Jan 2024, 20:37

                        @Darshit-Desai

                        Those instructions seem outdated, follow the ones on the official Docker page here.

                        Thomas

                        D 1 Reply Last reply 29 Jan 2024, 22:30 Reply Quote 0
                        • D
                          Darshit Desai @Guest
                          last edited by 29 Jan 2024, 22:30

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

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

                          1 Reply Last reply Reply Quote 0
                          2 out of 12
                          • First post
                            2/12
                            Last post
                          Powered by NodeBB | Contributors