ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. voxluser12341
    3. Topics
    V
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 9
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by voxluser12341

    • V

      Modifying frames with OpenCV before writing to encoded video file

      Ask your questions right here!
      • • • voxluser12341
      2
      0
      Votes
      2
      Posts
      35
      Views

      V

      It seems that a similar functionality has been shown in an experimental python branch: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/pympa-experimental/tools/python/pympa-resize.py. Is this a recommended way to go about this (if so, how do I get these libraries and their C-bindings onto my voxl2) or is there an easier approach?

    • V

      VOXL2-Mini J19 devices

      Ask your questions right here!
      • • • voxluser12341
      7
      0
      Votes
      7
      Posts
      235
      Views

      Alex KushleyevA

      @Gary-Holmgren ,

      Our voxl-esc tools use a python wrapper around qrb5165-io library, which is pretty easy to use. The wrapper provides an api that is almost the same as the standard serial port class in python : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/master/voxl-esc-tools/voxl_serial.py. The usage of this wrapper can be seen here : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/master/voxl-esc-tools/voxl-esc-neopixel-test.py?ref_type=heads#L114 . You should use the port name such as /dev/slpi-uart-2 , which is a fake name (it does not exist in the Linux /dev/ folder) but the wrapper class will extract the port index at the end. Technically any name with -2 at the end will tell VoxlSerialPort class to use the DSP's uart port 2.

      You could write a service that uses a python3 script to comunicate with the serial port and expose the data via UDP using other python tools.

      The limitation of only one concurrent DSP uart port usage still applies here.

      Alex