ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Samuel Lehman
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by Samuel Lehman

    • Samuel LehmanS

      Mavcam manager uvc stream not working

      VOXL SDK
      • • • Samuel Lehman
      3
      0
      Votes
      3
      Posts
      63
      Views

      Eric KatzfeyE

      @Samuel-Lehman In this case you are setting up the voxl-streamer outputs. voxl-mavcam-manager simply informs QGC about which outputs are available to it. You don't need to do anything manually. Just set up a systemd service file for each instance of voxl-streamer. (for example: /etc/systemd/system/voxl-streamer.service)

    • Samuel LehmanS

      cannot get model conversion script to work

      Software Development
      • • • Samuel Lehman
      5
      0
      Votes
      5
      Posts
      374
      Views

      A

      @Samuel-Lehman I think the issue is with the tflite version running on voxl, which does not support v3 ops. An update to tflite on the voxl is being pushed but it will take some time to be merged into the main SDK. However, you can try tensorflow 2.17.1 from this branch.

      Note that since it is not completely integrable, running it is slightly more complex. Make sure you are using the newest voxl-cross image to build voxl-tflite-server.

      On Voxl, it cannot run directly, and you would have to run it via a Docker container. You can find a sample Dockerfile provided in docker_samples/ in the 'update_tf' branch. For further context on integrating opencl please refer to this.

      Hopefully, the updated tflite will contain the necessary v3 op and it works smoothly.

    • Samuel LehmanS

      How to use UART in custom applications

      Software Development
      • • • Samuel Lehman
      8
      0
      Votes
      8
      Posts
      230
      Views

      Alex KushleyevA

      @Samuel-Lehman , Not sure what is going on but i was able to build your example with the following command on VOXL2. I had to comment out #include "hello_cross.h" because i did not have it.

      voxl2:~$ gcc -O2 -Wall voxl_io_uart_test.c -o voxl_io_uart_test -lmodal_pipe -lvoxl_io -L/usr/lib64 voxl_io_uart_test.c:14:12: warning: 'opt' defined but not used [-Wunused-variable] static int opt = 0; ^~~ voxl2:~$

      I am not sure what's going on, you can enable verbose CMake file to see what compile command CMake is generating and compare that to the above.

      Alex

    • Samuel LehmanS

      Running inference on a gstream with tflite

      Software Development
      • • • Samuel Lehman
      2
      0
      Votes
      2
      Posts
      72
      Views

      tomT

      @Samuel-Lehman If this is a UVC camera you may be able to use voxl-uvc-server in order to create an MPA pipe and have tflite server read from that pipe

      It may take some slight tweaking to get voxl-uvc-server to support your specific camera

    • Samuel LehmanS

      gstreamer uyvy camera stream not working on voxl2

      Software Development
      • • • Samuel Lehman
      5
      0
      Votes
      5
      Posts
      231
      Views

      Alex KushleyevA

      @cegeyer

      Here is a command to stream video from VOXL2 camera via ssh X forwading. FPS may be limited due to bandwidth (perhaps this is the command you meant in your reference above).

      ssh -X root@<voxl-ip> gst-launch-1.0 qtiqmmfsrc camera=0 ! "video/x-raw, width=1280,height=720,framerate=30/1" ! autovideoconvert ! autovideosink

      This should pop up a window with the stream from the camera. Make sure voxl-camera-server is not running if you are testing one of the mipi cameras connected to voxl2.

      Alex

    • Samuel LehmanS

      Video out

      Software Development
      • • • Samuel Lehman
      3
      0
      Votes
      3
      Posts
      108
      Views

      Samuel LehmanS

      @Alex-Kushleyev I see, that's unfortunate but thanks for letting me know.