Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. VOXL
  4. voxl streamer failing to create tflite pipe with latest version of code from master

voxl streamer failing to create tflite pipe with latest version of code from master

Scheduled Pinned Locked Moved VOXL
10 Posts 2 Posters 2.4k Views 1 Watching
  • 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.
  • C Offline
    C Offline
    colerose
    Contributor
    wrote on last edited by colerose
    #1

    I pulled the latest version of the stable code from the voxl-tflite-server master branch on github and built it directly in voxl-cross. It appeared to build just fine. However, when trying to run voxl-streamer with the tflite overlay it appears that the tflite pipe is not being created.

    When running

    voxl-streamer -c tflite-overlay
    

    the output simply hangs and doesn't display the usual message of:

    Stream available at rtsp://127.0.0.1:8900/live
    

    Any input on why this might be happening? Here is the output of building the ipk file:

    voxl-cross:~/voxl-tflite-server$ ./clean.sh 
    voxl-cross:~/voxl-tflite-server$ ./install_build_deps.sh stable
    using stable repository
    Downloading http://voxl-packages.modalai.com/stable/Packages.gz.
    Updated source 'stable'.
    Installing libmodal_pipe (2.0.10) on root.
    Downloading http://voxl-packages.modalai.com/stable/libmodal_pipe_2.0.10.ipk.
    Configuring libmodal_pipe.
    
    Done installing libmodal_pipe
    
    Installing libmodal_json (0.3.5) on root.
    Downloading http://voxl-packages.modalai.com/stable/libmodal_json_0.3.5.ipk.
    Configuring libmodal_json.
    
    Done installing libmodal_json
    
    Installing opencv (4.5.2) on root.
    Downloading http://voxl-packages.modalai.com/stable/opencv_4.5.2-2.ipk.
    Configuring opencv.
    
    done installing opencv
    
    Installing voxl-tflite (0.0.1) on root.
    Downloading http://voxl-packages.modalai.com/stable/voxl-tflite_0.0.1.ipk.
    Configuring voxl-tflite.
    voxl-cross:~/voxl-tflite-server$ ./build.sh 
    + set -e
    + mkdir -p build
    + cd build
    + cmake -DCMAKE_TOOLCHAIN_FILE=/opt/cross_toolchain/aarch64-gnu-4.9.toolchain.cmake -DCMAKE_BUILD_TYPE=RELEASE -DENABLE_NEON=ON '-DCMAKE_CXX_FLAGS= -std=c++11 -march=armv8-a' ../server
    -- The C compiler identification is GNU 4.9.3
    -- The CXX compiler identification is GNU 4.9.3
    -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9
    -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-4.9 -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9
    -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-4.9 -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        ENABLE_NEON
    
    
    -- Build files have been written to: /home/root/voxl-tflite-server/build
    + make -j 4 TARGET=aarch64 TARGET_TOOLCHAIN_PREFIX=aarch64-linux-gnu-
    Scanning dependencies of target voxl-tflite-server
    [ 40%] Building CXX object CMakeFiles/voxl-tflite-server.dir/main.cpp.o
    [ 40%] Building C object CMakeFiles/voxl-tflite-server.dir/undistort.c.o
    [ 60%] Building CXX object CMakeFiles/voxl-tflite-server.dir/models.cpp.o
    [ 80%] Building CXX object CMakeFiles/voxl-tflite-server.dir/threads.cpp.o
    In file included from /usr/include/modal_pipe_client.h:42:0,
                     from /usr/include/modal_pipe.h:41,
                     from /home/root/voxl-tflite-server/server/threads.h:40,
                     from /home/root/voxl-tflite-server/server/models.cpp:46:
    /usr/include/modal_pipe_common.h:63:2: warning: #warning Building for Android [-Wcpp]
     #warning Building for Android
      ^
    [100%] Linking CXX executable voxl-tflite-server
    [100%] Built target voxl-tflite-server
    voxl-cross:~/voxl-tflite-server$ ./make_package.sh 
    
    Package Name:  voxl-tflite-server
    version Number:  0.1.1
    [100%] Built target voxl-tflite-server
    Install the project...
    -- Install configuration: "RELEASE"
    -- Installing: ../ipk/data/usr/bin/voxl-tflite-server
    /home/root/voxl-tflite-server
    ar: creating voxl-tflite-server_0.1.1.ipk
    
    DONE
    
    
    
    1 Reply Last reply
    2
    • C Offline
      C Offline
      colerose
      Contributor
      wrote on last edited by
      #2

      This was all working up until the time libmodal_pipe was updated which seems to be sept 2. How would I use an older version of libmodal_pipe?

      1 Reply Last reply
      1
      • C Offline
        C Offline
        colerose
        Contributor
        wrote on last edited by
        #3

        Also, here are the available mpa pipes after installing the server.

        be12412d-d581-49fc-beda-b1566111f19e-image.png

        1 Reply Last reply
        1
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Hi @colerose,
          Are you running the voxl-tflite-server before you try to view the output with voxl-streamer? The pipe is missing from your run/mpa screenshot, so it doesn't look like the server has been started. It can be started manually or setup as a service using voxl-configure-tflite on target.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            colerose
            Contributor
            wrote on last edited by
            #5

            @Matt-Turi yes, I have tried both running it as a service and setting the server up manually. The tflite server will work on its own which is clear based on the output that it prints in debug mode. However, it simply does not stream in voxl-streamer with the tflite-overlay even though the server voxl-tflite-server is running fine when I try to use the streamer.

            1 Reply Last reply
            0
            • C Offline
              C Offline
              colerose
              Contributor
              wrote on last edited by colerose
              #6

              To be more concrete, my team and I have tried to build the dev version from master, the stable version from master, as well as many other previous versions that we were able to get working before Sept 2 (on multiple drones). The builds all prior worked fine with all of these versions (on multiple drones). After then, we haven't been able to get a single version that will create the tflite pipe to allow voxl-streamer to use the tflite overlay (on any drone). However, all of them show that the tflite server is working fine in debug mode on its own.

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #7

                Looks like this was a bug with some of the tensorflow headers affecting new changes in libmodal pipe. Thanks for pointing this out, v0.1.3 will fix this issue and will be live shortly.

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  colerose
                  Contributor
                  wrote on last edited by
                  #8

                  Thanks @Matt-Turi! Can you please reply to this thread to let me know when it’s up?

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    It's up for both dev/stable branches

                    C 1 Reply Last reply
                    1
                    • ? A Former User

                      It's up for both dev/stable branches

                      C Offline
                      C Offline
                      colerose
                      Contributor
                      wrote on last edited by
                      #10

                      @Matt-Turi Great thanks! I'll give it a shot now!

                      1 Reply Last reply
                      1

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      ModalAI
                      Categories Recent Tags ModalAI.com Docs
                      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups