ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Popular
    Log in to post
    • All Time
    • Day
    • Week
    • Month
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • All categories
    • H

      Starling 2: TOF sensor not recognized by VOXL Portal

      Starling & Starling 2
      • • • hgutier
      28
      0
      Votes
      28
      Posts
      629
      Views

      Hector GutierrezH

      @Alex-Kushleyev - thanks, I submitted the RMA request, will let you know after I have the chance to replace and test the replacement parts.
      Thanks, Hector

    • derrick0799D

      LTE - Modem Works But Cannot Ping

      Cellular Modems
      • • • derrick0799
      27
      0
      Votes
      27
      Posts
      2360
      Views

      tomT

      @vmassague Awesome!

    • M

      Questions regarding RB5 5G drone

      Qualcomm Flight RB5 5G Drone
      • • • MJ
      27
      0
      Votes
      27
      Posts
      2529
      Views

      M

      @RichieRich
      GPS unit is mounted by default (as it comes with RB5 5G drone), mast is locked in vertical postion.
      Turning EKF2_REQ_SACC to 0,75 provided no errors from GPS.
      Obstacle avoidance was also disabled, so we managed to fly.

      But I'm still a bit confused why the obstacle avoidance gives error, since the drone was placed on the ground (concrete pavement), no obstacles within few meters, while the minimum distance was set to only 1 m. But this is current setup that works:
      0de5d598-3401-4512-9e7b-3ef8202ef635-image.png

      Many thanks for your help. We'll try to figure this out and provide info in a few days.

    • Aldo Castro FreireA

      No able to update the time using time-sync

      Ask your questions right here!
      • • • Aldo Castro Freire
      27
      0
      Votes
      27
      Posts
      2135
      Views

      Aldo Castro FreireA

      Today I tried using another provider for the SIM and it connected to the internet. Not sure where to start debugging this cause it is getting an IP, but I figure it needs internet access to get the time ?

    • Patrick HincheyP

      Garbage attitude control

      Ask your questions right here!
      • • • Patrick Hinchey
      27
      0
      Votes
      27
      Posts
      2664
      Views

      bensusanaB

      @Patrick-Hinchey
      hi patrick
      did you manage to solve the tune problem ?
      we king of facing same problem with our drone
      any help will be appreciate

    • Philemon BennerP

      Build voxl-uvc-server with voxl-cross

      Modal Pipe Architecture (MPA)
      • • • Philemon Benner
      26
      0
      Votes
      26
      Posts
      2643
      Views

      Eric KatzfeyE

      @Philemon-Benner Our qrb5165 based platforms put 64 bit libraries into /usr/lib. On Voxl the 64 bit libraries go into /usr/lib64. So the 64 bit support is specifically for our qrb5165 based platforms (e.g. RB5 Flight).

    • bensusanaB

      voxl Tmotor f55 esc

      ESCs
      • • • bensusana
      26
      0
      Votes
      26
      Posts
      2359
      Views

      Alex KushleyevA

      @ErezI

      When it comes to comparing the quadratic curve fits, it is difficult to look at just the coefficients and compare them. If you have multiple tests, you should plot the quadratic plots on the same figure and see how repeatable they are. What may seem like a noticeable variation in the coefficients, could still result in curves that are very similar.

      By the way, you should not just average values of a0, a1, and a2 to get a0_average, a1_average, and a2_average, as this will result in wrong curve. If you would like to find an average of all 4 runs, then you can just create a quadratic fit of all the points from the 4 data sets - that is the proper way to do it. However, if after plotting the 4 curves they look very similar, you can use any of the 4 individual fits. The PI (Proportional Integral) controller on the ESC will compensate for minor deviations.

      The error you saw with params not being valid was due to the latest version of voxl-esc tools using new parameter structure. So the solution is (which is what you already figured out) to update the firmware and params to latest. This type of change does not happen too often. We will add this to documentation to make this clear.

      Alex

    • Darshit DesaiD

      m500 VOXL Flight sdk update to v1.1.x

      VOXL SDK
      • • • Darshit Desai
      26
      0
      Votes
      26
      Posts
      2724
      Views

      ModeratorM

      @Darshit-Desai Can you try the v1.13 PX4 for the Flight Core? https://docs.modalai.com/flight-core-v2-firmware/

    • G

      cam does not seem to be alive issue

      Image Sensors
      • • • giladWDS
      26
      0
      Votes
      26
      Posts
      1620
      Views

      G

      @Alex-Kushleyev
      sorry for the delay,
      this sounds about right.
      I'm not sure about the 15 fps but we do use raw preview only for our application and no other stream
      this is my camera conf file:

      cat /etc/modalai/voxl-camera-server.conf /** * voxl-camera-server Configuration File * * Each camera has configurations for up to 4 HAL3 streams: * - `preview` stream for raw unprocessed images from CV cameras * - `small_video` 720p (ish) h264/h265 compressed for fpv video streaming * - `large_video` 4k (ish) h264/h265 for onboard video recording to disk * - `snapshot` ISP-processed JPG snapshots that get saved to disk * * on QRB5165 platforms (VOXL2 and VOXL2 mini) you can only have 3 of the 4 enabled * * This file is generated from default values by voxl-configure-cameras. * Do not expect arbitrary resolutions to work, the ISP and video compression * pipelines only support very specific resolutions. * * The default video compression mode is cqp or Constant Quantization Parameter * * * */ { "version": 0.1, "cameras": [{ "type": "ov7251", "name": "stereo", "enabled": true, "camera_id": 0, "camera_id_second": 1, "independent_exposure": false, "fps": 30, "en_rotate": false, "en_rotate_second": false, "en_preview": true, "preview_width": 640, "preview_height": 480, "en_raw_preview": true, "ae_mode": "lme_msv", "ae_desired_msv": 60, "exposure_min_us": 20, "exposure_max_us": 33000, "gain_min": 54, "gain_max": 8000, "exposure_soft_min_us": 5000, "ae_filter_alpha": 0.600000023841858, "ae_ignore_fraction": 0.20000000298023224, "ae_slope": 0.05000000074505806, "ae_exposure_period": 1, "ae_gain_period": 1 }, { "type": "imx412", "name": "hires2", "enabled": true, "camera_id": 2, "fps": 3, "en_rotate": true, "en_preview": true, "preview_width": 4056, "preview_height": 3040, "en_raw_preview": false, "en_small_video": false, "small_video_width": 1024, "small_video_height": 768, "small_venc_mode": "h265", "small_venc_br_ctrl": "cqp", "small_venc_Qfixed": 30, "small_venc_Qmin": 15, "small_venc_Qmax": 40, "small_venc_nPframes": 9, "small_venc_mbps": 2, "en_large_video": false, "large_video_width": 2048, "large_video_height": 1536, "large_venc_mode": "h265", "large_venc_br_ctrl": "cqp", "large_venc_Qfixed": 38, "large_venc_Qmin": 15, "large_venc_Qmax": 50, "large_venc_nPframes": 29, "large_venc_mbps": 30, "en_snapshot": false, "en_snapshot_width": 4056, "en_snapshot_height": 3040, "ae_mode": "lme_msv", "ae_desired_msv": 65, "exposure_min_us": 20, "exposure_max_us": 33000, "gain_min": 20, "gain_max": 250, "exposure_soft_min_us": 3000, "ae_filter_alpha": 0.700000023841858, "ae_ignore_fraction": 0.20000000298023224, "ae_slope": 0.05000000074505806, "ae_exposure_period": 1, "ae_gain_period": 0.5 }, { "type": "imx412", "name": "hires", "enabled": true, "camera_id": 3, "fps": 3, "en_preview": true, "preview_width": 4056, "preview_height": 3040, "en_raw_preview": false, "en_small_video": false, "small_video_width": 1024, "small_video_height": 768, "small_venc_mode": "h265", "small_venc_br_ctrl": "cqp", "small_venc_Qfixed": 30, "small_venc_Qmin": 15, "small_venc_Qmax": 40, "small_venc_nPframes": 9, "small_venc_mbps": 2, "en_large_video": false, "large_video_width": 4056, "large_video_height": 3040, "large_venc_mode": "h265", "large_venc_br_ctrl": "cqp", "large_venc_Qfixed": 38, "large_venc_Qmin": 15, "large_venc_Qmax": 50, "large_venc_nPframes": 29, "large_venc_mbps": 30, "en_snapshot": false, "en_snapshot_width": 4056, "en_snapshot_height": 3040, "ae_mode": "lme_msv", "ae_desired_msv": 65, "exposure_min_us": 20, "exposure_max_us": 33000, "gain_min": 20, "gain_max": 250, "exposure_soft_min_us": 3000, "ae_filter_alpha": 0.700000023841858, "ae_ignore_fraction": 0.20000000298023224, "ae_slope": 0.05000000074505806, "ae_exposure_period": 1, "ae_gain_period": 0.5 }, { "type": "ov7251", "name": "tracking", "enabled": true, "camera_id": 4, "fps": 30, "en_rotate": false, "en_preview": true, "preview_width": 640, "preview_height": 480, "en_raw_preview": true, "ae_mode": "lme_msv", "ae_desired_msv": 60, "exposure_min_us": 20, "exposure_max_us": 33000, "gain_min": 54, "gain_max": 8000, "exposure_soft_min_us": 5000, "ae_filter_alpha": 0.600000023841858, "ae_ignore_fraction": 0.20000000298023224, "ae_slope": 0.05000000074505806, "ae_exposure_period": 1, "ae_gain_period": 1 }] }

      hope this helps

    • D

      EIS merge

      VOXL 2
      • • • david.moro
      26
      0
      Votes
      26
      Posts
      1091
      Views

      Alex KushleyevA

      Initial docs are up : https://docs.modalai.com/camera-video/electronic-image-stabilization/

    • Jetson NanoJ

      VOXL FPV Racing 4-in-1 ESC with flight core v2 and voxl2

      Ask your questions right here!
      • • • Jetson Nano
      26
      0
      Votes
      26
      Posts
      683
      Views

      Alex KushleyevA

      @Jetson-Nano , this is likely related to the fact that the FC starts quicker than the ESC bootloader's 1s wait time. We discussed this before.

      So if you are saying that delaying the start of voxl_esc driver in px4 on your FC solves the problem, then the issue is exactly that.

      Please delay the start of the voxl_esc driver in your px4 start-up script, for example you can see it at the bottom of the script here : https://github.com/modalai/px4-firmware/blob/bugfix-fpv-rev0-airframe/boards/modalai/fc-v2/init/rc.board_sensors

      if param greater VOXL_ESC_CONFIG 0 then usleep 1500000 voxl_esc start fi
    • M. al-khatibM

      No GPs lock for vehicle

      Sentinel
      • • • M. al-khatib
      25
      0
      Votes
      25
      Posts
      2145
      Views

      Eric KatzfeyE

      @M-al-khatib Great, glad to hear it is working now!

    • P

      voxl-mapper/planner for a Seeker drone

      Ask your questions right here!
      • • • Pooyan
      25
      0
      Votes
      25
      Posts
      1813
      Views

      tomT

      @Pooyan Interesting, systemd is ideal way for it to be running

    • A

      VOXL2 RTSP decoding fails

      VOXL 2
      • • • Aaky
      25
      0
      Votes
      25
      Posts
      1992
      Views

      Alex KushleyevA

      @Aaky, I see what you are asking.

      What is needed is the python binding to the C function int pipe_server_get_num_clients(int ch) , which is defined here

      pympa_create_pub already is set up to return the MPA channel number, so we would just need to use that channel number of checking the number of clients.

      I can implement this, but it will need to wait a few days. That is a good feature to have. If you would like to try implementing it yourself, you can add the bindings to :

      https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/pympa-experimental/tools/pympa.cpp (add call to pipe_server_get_num_clients) in a similar way how other functions are called. add the actual python wrapper to: https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/pympa-experimental/tools/python/pympa.py then finally, when you call pympa_create_pub, save the pipe id and then pass it to check for clients.

      Alex

    • J

      Camera server keep crashing everytime it is launched

      PX4 Autonomy Developer Kit
      • • • Judoor 0
      25
      0
      Votes
      25
      Posts
      2287
      Views

      Alex KushleyevA

      @Jetson-Nano , OK it seems we have two parallel threads going. please see my reply to the other thread https://forum.modalai.com/topic/3688/vision-sensors-not-detected-in-voxl2 and test it step by step as I suggested (reducing fps of imx214 camera first, then disabling sensors one by one)

      Alex

    • Jerry LinJ

      Quectel 5G-Modem doesn't work at all

      Cellular Modems
      • • • Jerry Lin
      25
      0
      Votes
      25
      Posts
      1498
      Views

      Jerry LinJ

      OK, cool πŸ‘ thanks❗

      Will try.

    • G

      VOXL2/ROS2 Drone Runs Figure 8 Offboard Program Instead of My Program

      Ask your questions right here!
      • • • GlennTee
      25
      0
      Votes
      25
      Posts
      1528
      Views

      G

      @GlennTee Good news! The program now runs, turns out I needed to add the .py extension to the file name when calling the run command, so it should be "ros2 run px4_ros_com offboard_control.py"

      However, we experienced a lot of errors while running. The drone did arm (But only would do every even numbered attempt for some reason), however it did not fly. I'm working now to debug these errors.
      image(1).png

    • Tamas Pal 0T

      HITL with voxl 2

      Ask your questions right here!
      • • • Tamas Pal 0
      24
      0
      Votes
      24
      Posts
      2082
      Views

      Tamas Pal 0T

      @Taylor-Presley Right. Some cables work some don't.

    • Ed SutterE

      Trouble with EM7565 startup...

      Ask your questions right here!
      • • • Ed Sutter
      24
      0
      Votes
      24
      Posts
      1844
      Views

      Ed SutterE

      @Eric-Katzfey @tom Digging a bit deeper into this, I see that the voxl-build procedure does patch the qmi_wwan.c file, and after the patch, the VID/PID for EM7565 is in there. On one hand this is good news because it implies that the kernel does have support for the modem I'm trying to use; however, its not-so-good news for me because running with that modem has not reliable on VOXL. 😞
      Aside from verifying that I am actually running the same version on my VOXL-Flight-Deck as is being built in voxl-build (see below), I'm at a loss regarding other things to do to debug this. Any thoughts on this?
      Following is the output of voxl-version on my board:

      / # voxl-version cat: /etc/modalai/voxl-software-bundle-version.txt: No such file or directory -------------------------------------------------------------------------------- system-image: ModalAI 3.3.0 BUILDER: ekatzfey BUILD_TIME: 2021-06-06_19:28 kernel: #1 SMP PREEMPT Sun Jun 6 19:41:01 UTC 2021 3.18.71-perf factory-bundle: 1.0.1 (Yocto installation) -------------------------------------------------------------------------------- architecture: aarch64 processor: apq8096 os: GNU/Linux -------------------------------------------------------------------------------- voxl-suite: Package: voxl-suite Version: 0.5.0 Depends: libjpeg_turbo (>= 9.0.4), libmodal_exposure (>= 0.0.2), libmodal_json (>= 0.3.6), libmodal_pipe (>= 2.1.1), lib rc_math (>= 1.1.5), libvoxl_cutils (>= 0.0.2), libvoxl_io (>= 0.5.4), mavlink-camera-manager (>= 0.0.2), mongoose (>= 7. 3.0), opencv (>= 4.5.2-2), openmp (>= 10.0.2), voxl-camera-calibration (>= 0.1.1), voxl-camera-server (>= 0.8.1), voxl-c pu-monitor (>= 0.2.0), voxl-dfs-server (>= 0.2.2), voxl-docker-support (>= 1.1.3), voxl-gphoto2 (>= 0.0.5), voxl-imu-ser ver (>= 0.9.1), voxl-mavlink (>= 0.0.2), voxl-modem (>= 0.12.0), voxl-mpa-tools (>= 0.3.6), voxl-nodes (>= 0.2.0), voxl- portal (>= 0.1.2), voxl-qvio-server (>= 0.3.4), voxl-streamer (>= 0.2.6), voxl-tag-detector (>= 0.0.2), voxl-tflite (>= 2.2.3), voxl-tflite-server (>= 0.1.5), voxl-utils (>= 0.8.4), voxl-vision-px4 (>= 0.9.5), voxl-vpn (>= 0.0.3) Status: install user installed Section: base Architecture: all Maintainer: james@modalai.com MD5Sum: 172dd2541a4b01ec415651b5ded3afab Size: 1956 Filename: voxl-suite_0.5.0_202111041852.ipk Description: meta-package for voxl-suite software collection Installed-Time: 144 --------------------------------------------------------------------------------
    • bensusanaB

      Help with Voxl2 PID Tune problem

      VOXL 2
      • • • bensusana
      24
      0
      Votes
      24
      Posts
      2370
      Views

      bensusanaB

      @Eric-Katzfey

      only 420000 work for me for CRSF RAW