Navigation

    ModalAI Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. admin
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by admin

    • RE: Installing OpenCV-3.4.6.ipk fails on VOXL Emulator Docker Image (1.0.0)

      Total hack, but this just worked. We still need a clean way of uninstalling opencv2.4

      $ opkg list | grep opencv
      $ opkg remove lib32-opencv --force-removal-of-dependent-packages
      $ opkg list | grep opencv
      $ opkg remove lib32-opencv-dbg --force-removal-of-dependent-packages
      $ opkg remove lib32-opencv-calib3d2.4 --force-removal-of-dependent-packages
      $ opkg list | grep opencv
      $ opkg remove lib32-libopencv-calib3d2.4 --force-removal-of-dependent-packages
      $ opkg list | grep opencv
      $ opkg remove lib32-libopencv-core2.4 --force-removal-of-dependent-packages
      $ opkg install opencv_3.4.6_8x96.ipk
      $ /usr/bin/opencv_version
      3.4.6
      
      posted in Software Development
      admin
      admin
    • Installing OpenCV-3.4.6.ipk fails on VOXL Emulator Docker Image (1.0.0)

      GitLab Issues import

      Installing OpenCV-3.4.6.ipk fails on voxl_emulator opkg install OpenCV-3.4.6.ipk. Even tried compiling and installing the generated ipk. Likely issue with installed opencv2.4 version from ROS.
      Deploy on VOXL target works fine.

      posted in Software Development
      admin
      admin
    • RE: Cannot initialize git submodules on VOXL Emulator Docker Image (1.0.0)

      We've posted a git-perltools package that should provide a workaround for this issue if you install on the either the emulator image or the target. Note at this time, when using on the emulator, you'll need to run it again after exiting...

      1. Download the git-pertools package from here: https://docs.modalai.com/docs/resources/downloads/#additional-packages

      2. Copy to the emulator (place in directory where you run the emulator from) or target (using adb push)

      3. Install using `opkg install lib32-git-perltools_2.5.0-r0_armv7a-vfp-neon.ipk' (note: some opkg warnings will display but can be ignored)

      You should be able to use the submodule command after this. Please let us know if you have any problems.

      posted in Software Development
      admin
      admin
    • Cannot initialize git submodules on VOXL Emulator Docker Image (1.0.0)

      Import from GitLab Issues

      git submodule update --recursive Throws following error

      git: 'submodule' is not a git command. See 'git --help'.

      Missing git-perltools in the voxl-build?

      VOXL Emulator Docker Image (1.0.0)

      voxl-emulator latest 0e15518b8f95 12 months ago 1.26GB

      posted in Software Development
      admin
      admin
    • RE: Where do VOXL components run

      Answers to some of your questions:

      1. The VOXL is meant to be a flexible development platform that allows developers to choose where best to run the components of their application. There is documentation describing various CPU and DSP development paradigms. The GPU is typically accessed via OpenCL and OpenGL. In general, the CPU is used for most things, the "sensors DSP" (aka SLPI, SDSP) runs the flight controller (SNAV, PX4 in the near future), and the GPU offloads certain OpenCV or other applications via OpenCL / OpenGL. The "applications DSP" (aka ADSP) is not really used for anything right now but is accessible. There is also a hardware video accelerator known as "Venus" that can offload certain tasks via OpenMAX.

      2. There is flexibility with how sensors are attached to the system. Cameras primarily come in via the MIPI connectors. Each camera, however, requires custom support. There are some supported "out of the box" (eg OV7251, IMX214, etc.), while new ones would have to be developed. Cameras can also come in via USB using UVC. There are IMUs on the VOXL that can be accessed directly via the SDSP. There is GPS capability directly on VOXL (See the GPS antenna connector) that can be accessed via SNAV or else an external GPS unit can be attached via the J7 connector. There are other lots of other options as well depending on the application.

      3. Load on CPU and GPU can be monitored using our voxl-perfmon python script (https://gitlab.com/voxl-public/voxl-utils/-/blob/master/bin/voxl-perfmon). We will add DSP to this as well.

      posted in Software Development
      admin
      admin
    • Where do VOXL components run

      imported from GitLab issues

      Hello,

      I am trying to get a better grip of what runs where with Voxl, and I am having a hard time determining this from the modalai and Qualcomm documentation. We are using snav on the 820 Flight Pro platform.

      My questions are:

      What Voxl components run on the

      • CPU
      • GPU
      • DSP - The qualcomm doc mentions this, but I can not find anymore info on it.

      Qualcomm Navigator is comprised of multiple libraries, executables, and configuration files. The core flight controller runs on the aDSP, and other components run on the applications processor and GPU. Qualcomm Navigator provides a low-level C API for applications to interact with the flight controller.

      Where do the sensors come in to the system

      • Cameras
      • IMU
      • GPS

      How do I determine the load on

      • GPU
      • DSP - I have seen there is a qualcomm tool for this, but I have not used it yet.
      • CPU - We are using top as well as snav_inspector and this is OK.

      Regarding the DSP, I have read the 820 DSP is made up of four smaller application specific DSPs, and I see there is support for developing for the aDSP an the sDSP. Can you elaborate on what each of these should be used for, and what is already running on each of these? I have found the two support pages for these here

      https://docs.modalai.com/build-for-sdsp/
      https://docs.modalai.com/build-for-adsp/

      Thanks,

      posted in Software Development
      admin
      admin
    • RE: Instructions needed on how to add new recipes to voxl-build to generate IPKs

      An example of how to do this was created can be found here

      posted in Software Development
      admin
      admin