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

    Topics created by Samuel Lehman

    • Samuel LehmanS

      Trouble configuring Boson+ on Voxl2

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

      Alex KushleyevA

      @Samuel-Lehman

      If you have the original adapter for Boson+ which allows you to connect it to a USB port, then you can use the FLIR SDK (we use Boson Plus SDK 4.0). Unfortunately, M0153 board does not have J3 connector populated, which would allow you to connect a serial-to-usb adapter to it.

      We have several python scripts, which use the Boson SDK to help set up the Boson sensor without the GUI.

      query basic sensor info:
      https://storage.googleapis.com/modalai_public/temp/boson/boson_read.py

      set up sensor for 8bit MIPI mode, 60fps (option to set 30fps):
      https://storage.googleapis.com/modalai_public/temp/boson/boson_set_8bit.py

      You can put both of these scripts next to the BosonSDK directory and run them. Please check the USB port name inside the scripts.

      Once you get that configured, you can put M0153 back on boson. Regarding where to plug it in on Voxl2, please tell me what other cameras you plan to use with your Boson.

      Alex

    • Samuel LehmanS

      Mavcam manager uvc stream not working

      VOXL SDK
      • • • Samuel Lehman
      3
      0
      Votes
      3
      Posts
      329
      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
      1809
      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
      1042
      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
      446
      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
      1045
      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
      375
      Views

      Samuel LehmanS

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