Navigation

    ModalAI Forum

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

    Philemon Benner

    @Philemon Benner

    0
    Reputation
    111
    Posts
    18
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Philemon Benner Follow

    Best posts made by Philemon Benner

    This user hasn't posted anything yet.

    Latest posts made by 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 Benner
      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 Benner
      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 Benner
      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 Benner
      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 Benner
      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 Benner
      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 Benner
      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 Benner
      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 Benner
      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 Benner
      Philemon Benner