ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Philemon Benner
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 26
    • Posts 117
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by Philemon Benner

    • RE: Voxl 1 voxl-mavlink-server bus error

      @Philemon-Benner Seems like some else had the same issue but there was no further investigation on the problem. https://forum.modalai.com/topic/2125/voxl-mavlink-server-external-fc-bus-error?_=1688565579723

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • Voxl 1 voxl-mavlink-server bus error

      Hey,
      i am trying to move to new voxl-mavlink-server. After upgrading, when running voxl-mavlink-server i get the following error:
      Screenshot from 2023-07-05 15-44-55.png
      After that error the device goes offline, and i have to powercycle the Voxl in order to access it again. I configured voxl-mavlink-server with voxl-configure*. I am migrating from voxl-mavlink-server v0.3.0 wich runs perfectly fine, i also tried using a different Voxl but same issue persists.

      voxl-mavlink-server: v1.2.0
      libapq8096-io: 0.6.0
      system image: 3.8.0 / 4.0.0
      hw version: VOXL

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • Missing newest apq8096 and qrb5165 proprietary

      Hey,
      i want to upgrade voxl-cross to 2.5 with voxl-docker, but unfortunately new proprietary ipk and deb packages are missing in Modalai protected downloads.

      apq8096-proprietary_0.0.4.ipk
      qrb5165-proprietary_0.0.3_arm64.deb
      

      are they store somewhere different from the old location ?
      If not would be nice i you could add them.

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • RE: M0025-1 Hires Camera capture with opencv

      @Chad-Sweet what is the reason for using Gralloc allocator on apq8096 for buffer allocation instead of ION memory allocator used in the qrb5165 implementation ?

      posted in Ask your questions right here!
      Philemon BennerP
      Philemon Benner
    • RE: M0025-1 Hires Camera capture with opencv

      Thanks for the fast reply

      posted in Ask your questions right here!
      Philemon BennerP
      Philemon Benner
    • M0025-1 Hires Camera capture with opencv

      Hey,
      i want to integrate the https://docs.modalai.com/M0025/ Camera from you in my application. I'm currently using opencv to capture video frames.
      Is it required that i use the hal3 module used in https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/tree/master/ ?
      If yes wich libraries do i have to link to my application in order to use the hal3 module ?
      And can i build these on my own or are these built alongside the system-image ?

      Platform: Voxl 1 ap8096

      posted in Ask your questions right here!
      Philemon BennerP
      Philemon Benner
    • RE: voxl-modem-start.sh issue

      @tom Now it's working again, but might be worth a look, it's important that it always works. Parsing seems fine:

      apq8096 detected...
      'v2'
      len: 2
      
      Initializing v2 modem...
      
      Waiting for ttyUSB2...
      ttyUSB2
      
      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • voxl-modem-start.sh issue

      Hey,
      i'm currently trying to do something similiar to modallink_relink.py, but i need the return value of voxl-modem-start.sh and it should be blocking, so i wanted to directly run that instead of using:

      systemctl restart voxl-modem
      

      But when i'm running voxl-modem-start.sh from voxl terminal i get the following error:
      Screenshot from 2022-12-06 17-31-22.png

      the modem is configured and with the service file it works. I also tried playing around with the if conditions in voxl-modem-start.sh but without success.

      System Image: 3.8.0
      voxl-modem Version: 0.16.1

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • Fork Modal Pipe & Modal Json

      Hey,
      i am using modal pipe and modal json in my project as external project , but sadly the cmake install path is always /usr/lib64, so i wanted to ask if i am allowed to fork modal pipe and modal json and create a public gitlab project including these, where i only change the cmake files ?

      posted in FAQs
      Philemon BennerP
      Philemon Benner
    • RE: voxl-wifi softap issues

      Also a list of country codes conforming the (ISO/IEC 3166-1) of the hostapd.conf:
      Could be put into the print_usage:

      echo "List of available Country Codes: https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes"
      
      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • voxl-wifi softap issues

      Hey,
      i'm currently working on setting my voxl to softap mode. While doing that i encountered some issues that i wanted to let u know.

      Voxl: Voxl 1
      Voxl System Image: 3.8.0
      Voxl Suite: 0.7.0

      So when i'm trying to set the voxl into softap factory mode i'm getting the following error:

      voxl-wifi -f
      

      Output:
      voxl-hwscan-not-found.png
      Seems like voxl-hwscan doesn't exist anymore in the new system-image ?

      Also when i tried editing the default password in:
      /usr/bin/voxl-wifi l. 5-7

      DEFAULT_SSID="VOXL-BLA"
      DEFAULT_PASS="somesecretpassword"
      DEFAULT_COUNTRY_CODE="mycountrycode"
      

      it will still use the standart password 1234567890. So i had a look at the hostapd.conf,
      and it seems like there also is a wpa_passphrase var at line 997 and a country code at line 99. Modifying voxl-wifi in line 54 to:

      function create_softap_conf_file () {
      	echo "editing ${hostapd_conf_file} for softap mode, ssid is: ${ssid}"
      	sed -i "/^ssid=/c\ssid=${ssid}" ${hostapd_conf_file}
      	sed -i "/^wpa_passphrase=/c\wpa_passphrase=${DEFAULT_PASS}" ${hostapd_conf_file}
      	sed -i "/^country_code=/c\country_code=${DEFAULT_COUNTRY_CODE}" ${hostapd_conf_file}
      	echo "creating new $conf_file for softap mode, ssid is: ${ssid}"
      	cat > ${conf_file} << EOF1
      country=${country_code}
      

      seems to work. Maybe you could include that in future releases, or let me know if i did something nasty.

      posted in Software Development
      Philemon BennerP
      Philemon Benner
    • RE: voxl-tflite-server v0.3.0 apq8096 yolov5

      @Matt-Turi Ah ok that sounds interesting might be worth a try. Good to know that. Thanks for the fast answer as always.

      posted in FAQs
      Philemon BennerP
      Philemon Benner
    • Voxl-Wifi set softap password

      Hey,
      as mentioned above, i want to change the default password of softap mode. Is it only possible with manually changing the default password in the shell script ?
      Something like:

      echo DEFAULT_PASS="bla" >> /usr/bin/voxl-wifi
      
      posted in FAQs
      Philemon BennerP
      Philemon Benner
    • RE: voxl-vision-px4 1.* not working on apq8096

      Ok i resolved the issue. You actually need to run voxl-mavlink-server and voxl-vision-px4 to get Autopilot enabled for Mavsdk.

      posted in Ask your questions right here!
      Philemon BennerP
      Philemon Benner
    • RE: voxl-tflite-server v0.3.0 apq8096 yolov5

      @Matt-Turi also is there any particular reason for having a custom resize Function instead of Opencv's resize function?

      posted in FAQs
      Philemon BennerP
      Philemon Benner
    • RE: voxl-tflite-server v0.3.0 apq8096 yolov5

      @Matt-Turi also besides the topic you could add:
      InferenceHelper.h

      //gpu Opts for more Info see:  https://github.com/tensorflow/tensorflow/blob/v2.8.0/tensorflow/lite/delegates/gpu/delegate.h
      static constexpr TfLiteGpuDelegateOptionsV2 gpuOptions = {-1, //Allow Precision Loss
                  TFLITE_GPU_INFERENCE_PREFERENCE_SUSTAINED_SPEED, //Preference
                  TFLITE_GPU_INFERENCE_PRIORITY_MIN_LATENCY, //Prio1
                  TFLITE_GPU_INFERENCE_PRIORITY_AUTO, //Prio2
                  TFLITE_GPU_INFERENCE_PRIORITY_AUTO, //Prio3
                  TFLITE_GPU_EXPERIMENTAL_FLAGS_ENABLE_QUANT, //Experimental Flags
                  1, nullptr, nullptr //Serializiation Stuff probably don't touch
              };
      

      And might:

      constexpr TfLiteGpuDelegateOptionsV2 InferenceHelper::gpuOptions;
      

      InferenceHelper.cpp (because C++11 sucks with constepxr).

      With that you can move the creation of the gpu Options to Compile time, and these should always be the same. Tensorflow recommends doing this because the default configuration might change.
      Here is the function that you are calling when you are creating the options:
      https://github.com/tensorflow/tensorflow/blob/v2.8.0/tensorflow/lite/delegates/gpu/delegate.cc#:~:text=TfLiteGpuDelegateOptionsV2-,TfLiteGpuDelegateOptionsV2Default,-() {

      posted in FAQs
      Philemon BennerP
      Philemon Benner
    • RE: voxl-tflite-server v0.3.0 apq8096 yolov5

      @Matt-Turi Thanks for the answer. What do you mean with implementing a tracker, that selectively feed different portions of the frame ? Something like just running Inference on the Roi of the Image ?

      posted in FAQs
      Philemon BennerP
      Philemon Benner
    • voxl-vision-px4 1.* not working on apq8096

      Hey,
      i have recently adapted to the new system Image. Now i am having issues, not getting the px4 recognized in voxl-vision-px4:
      voxl-vision-px4(0.9.5):
      Screenshot from 2022-08-12 10-54-06.png
      with voxl-vision-px4 > 0.9.5, its not detecting the px4 ?
      The old Version is working on the new System Image but i am getting the following errors:
      Screenshot from 2022-08-12 11-01-36.png
      Can i just ignore these ?
      Additionial Info:
      System Image: 3.8.0
      Voxl: apq8096
      voxl-vision-px4 versions tried: 1.2.0, 1.0.5.
      Config File:
      Screenshot from 2022-08-12 11-04-49.png
      Screenshot from 2022-08-12 11-06-16.png

      posted in Ask your questions right here!
      Philemon BennerP
      Philemon Benner
    • RE: voxl-tflite-server v0.3.0 apq8096 yolov5

      @Matt-Turi Is integer Quantisation faster than floating point model ? Yeah Problem is that we are using a higher resolution camera, and we are flying at high altitudes, so cropping images down to a smaller resolution drastically changes the Precision. Also wich input dimensions are you using for testing(Camera size), and have u also tested the model outside of your office ?

      posted in FAQs
      Philemon BennerP
      Philemon Benner
    • RE: voxl-tflite-server v0.3.0 apq8096 yolov5

      Also the Model that i trained is slower than your's, is that because of the bigger model image size. I use 640x640, your's is 320x320, with your model i get around 41ms and with mine around 110ms per Image.
      Edit: I Also used yolov5s and trained from scratch, i exported with tflite and half option.

      posted in FAQs
      Philemon BennerP
      Philemon Benner