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

      EIS functionality

      Video and Image Sensors
      • • • SKA
      14
      0
      Votes
      14
      Posts
      429
      Views

      Alex KushleyevA

      @SKA ,

      Does this happen right away after you start voxl-camera-server ?

      What raw "preview" resolution / fps are you requesting in camera server config?

      Also, can you post output of dmesg (everything after you start voxl-camera-server)

      Alex

    • R

      Bricked VOXL2 on Starling 2 Max

      Starling & Starling 2
      • • • roy.crosthwaite
      1
      0
      Votes
      1
      Posts
      13
      Views

      No one has replied

    • S

      No detections when running custom YOLOv8 model on voxl-tflite-server

      VOXL 2
      • • • svempati
      1
      0
      Votes
      1
      Posts
      12
      Views

      No one has replied

    • Rowan DempsterR

      Minimizing voxl-camera-server CPU usage in SDK1.6

      Video and Image Sensors
      • • • Rowan Dempster
      6
      0
      Votes
      6
      Posts
      108
      Views

      Alex KushleyevA

      Hi @Rowan-Dempster ,

      Please take a look at this example (you can build and run it too) : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-mpa-tools/-/blob/add-new-image-tools/tools/voxl-image-repub.cpp

      This app can accept a regular image (RAW8 or YUV) and either re-publish it unchanged or crop and publish the result. Sometimes this is useful for quickly cropping an image that is fed into a different application that expects a smaller image or different aspect ratio.

      The app shows how to subscribe and handle ion buffer streams.

      Usage:

      voxl2:/$ voxl-image-repub ERROR: Pipe name not specified Re-publish cropped camera frames (RAW8 or YUV) Options are: -x, --crop-offset-x crop offset in horizontal dimension -y, --crop-offset-y crop offset in vertical dimension -w, --crop-size-x crop size in horizontal dimension (width) -h, --crop-size-y crop size in vertical dimension (height) -o, --output-name output pipe name -u, --usage print this help message The cropped image will be centered if the crop offsets are not provided. typical usage: /# voxl-image-repub tracking --crop-size-x 256 --crop-size-y 256 /# voxl-image-repub tracking --crop-size-x 256 --crop-size-y 256 --crop-offset-x 128 --crop-offset-y 128

      example re-publishing ion buffer image as regular image (which you can view in voxl-portal ) :

      voxl-image-repub tracking_front_misp_norm_ion -o test

      (you can see which ion pipes are available by running voxl-list-pipes | grep _ion)

      Please note that without the previous fix that i posted above, the client process that receives and uncached ION buffer will incur extra CPU load while accessing this buffer. For example, the same voxl-image-repub client uses 1.7% cpu while republishing the normalized image (cached ion buffer), while using 7.3% cpu republishing an image from an uncached ION buffer. (cpu usage % using one of the smaller cores).

      Please try and let me know if you have any questions.

      I know this cached / uncached buffering may be a bit confusing, but i will document this a bit more to help explain it a little better.

      Alex

    • R

      Different package version from voxl-cross and Voxl2

      Ask your questions right here!
      • • • remill
      2
      0
      Votes
      2
      Posts
      18
      Views

      Eric KatzfeyE

      @remill said in Different package version from voxl-cross and Voxl2:

      1.0.27

      Perhaps you can build the desired version of libusb from source and install it? We have used this approach for a variety of other "third party" libraries. Examples are here: https://gitlab.com/voxl-public/voxl-sdk/third-party?page=1

    • A

      Using an RTK GPS with the VOXL2

      Ask your questions right here!
      • • • alan123
      2
      0
      Votes
      2
      Posts
      22
      Views

      Alex KushleyevA

      @alan123 , yes, the 12-pin connector on VOXL2 (J19) was designed such that the first 6 pins are compatible with a lot of existing GPS recevier modules. Please double check the pins and you should use a 12-pin connector to plug into VOXL2 (may need to re-pin your cable).

      Alex

    • M

      tracking down pipe switching to images of traccking front camera

      Video and Image Sensors
      • • • mark
      14
      0
      Votes
      14
      Posts
      206
      Views

      Alex KushleyevA

      Hi @mark ,

      Thank you for the update. We will keep investigating the underlying issue that was a result of that questionable camera.

      Meanwhile, if you think that the camera is defective and has no damage, you can fill out an RMA request and send it back for an exchange. I cant really comment on what could be causing this on the camera itself (it would be interesting to try it), but the camera is not serviceable by the user.

      https://www.modalai.com/pages/rma

      Alex

    • T

      Setting up RTK with VOXL2 using F9P (Base + Rover)

      VOXL 2
      • • • Teon
      3
      0
      Votes
      3
      Posts
      123
      Views

      A

      @Teon Hi,

      Can I ask if you got the RTK set up working? I'm trying to do the same thing.

    • G

      Remote ID over Wifi

      VOXL SDK
      • starling2 max remote-id • • griffin
      1
      0
      Votes
      1
      Posts
      12
      Views

      No one has replied

    • 박지현박

      Using Ardupilot with Flight Core v2+VOXL Mini 4-in-1 ESC : Min/Max PWM Mismatch and motors keep spinning after disarm

      ESCs
      • • • 박지현
      3
      0
      Votes
      3
      Posts
      58
      Views

      Eric KatzfeyE

      @박지현 Unfortunately, for Ardupilot, our ESCs are only supported with UART interface when using the VOXL 2 / VOXL 2 mini as the flight controller. When using Flight Core v2 that is not supported.

    • Tanner MetzmeierT

      Python Programmatic GStreamer Access for Hardware Encoded Acceleration and Low Latency

      Ask your questions right here!
      • python voxl2 • • Tanner Metzmeier
      4
      0
      Votes
      4
      Posts
      64
      Views

      Alex KushleyevA

      @joseph-vale ,

      You did not provide the actual error that you are seeing, however I could try to guess what it is (even if not, the details below should probably help you anyway). The default build of voxl-opencv package does not have python3 support. So if you are using gstreamer with opencv in python and that is the error, you should install the voxl-opencv package that I built with python3 support

      https://storage.googleapis.com/modalai_public/temp/voxl-opencv_4.5.5-3_arm64.deb source : https://gitlab.com/voxl-public/voxl-sdk/third-party/voxl-opencv/-/tree/add-python3-bindings

      Below, i will assume that you want to grab images from Boson part of the Hadron, however similar approach should apply to the RGB camera in Hadron.

      First you should test ability to grab images without python. You may need to replace your camera # depending on what camera id your Boson is.

      IMPORTANT: make sure that voxl-camear-server is not running while you are trying to use gstreamer.

      systemctl stop voxl-camera-server

      Tip: you can actually stream video using X forwarding with ssh. This should stream live Boson feed from voxl2 to your linux machine:

      ssh -Y username@<voxl-ip> gst-launch-1.0 qtiqmmfsrc camera=0 ! "video/x-raw,width=640,height=512,framerate=30/1" ! videoconvert ! autovideosink

      display image directly in terminal as ascii:

      gst-launch-1.0 qtiqmmfsrc camera=0 ! "video/x-raw,width=640,height=512,framerate=30/1" ! autovideoconvert ! aasink

      and then finally, a python script that grabs h264 video from qtiqmmfsrc, decodes it and returns frames to python:

      import time import cv2 #get RGB (BGR?) directly #stream='gst-launch-1.0 qtiqmmfsrc camera=0 ! video/x-raw, width=640,height=512,framerate=30/1 ! autovideoconvert ! appsink' #get h264 -> decode -> BGR stream='gst-launch-1.0 qtiqmmfsrc camera=0 ! video/x-h264,format=NV12,profile=high,width=640,height=512,framerate=30/1 ! h264parse ! qtivdec ! qtivtransform ! video/x-raw,format=BGR,width=640,height=512 ! autovideoconvert ! appsink' print(stream) vcap = cv2.VideoCapture(stream,cv2.CAP_GSTREAMER) frame_cntr = 0 while(1): ret, frame = vcap.read() if ret: frame_cntr += 1 print('got frame %d with dims ' % frame_cntr, frame.shape)

      Hopefully, that works for you.

      Final recommendation - if you use qtiqmmfsrc this way, the Boson data is processed in the Qualcomm ISP and unless your have a special tuning file for Boson, the processed output will have degraded quality. Boson, by default, outputs post AGC 8-bit image which is already processed and does not need to be further processed by the ISP. I am not sure whether you can get RAW8 data from qtiqmmfsrc (unmodified data from Boson).

      We handle the above issue in voxl-camera-server by working with the RAW8 directly. We also recently started experimenting with 14bit pre-AGC data from Boson, which would need some processing before it is usable (if you are interested in that, i can share some more information).

      Finally, if you would like to use voxl-camera-server, which is what we recommend and support, there is also a way to get encoded h264/h265 data into python (using our experimental pympa (python MPA bindings)). That is a topic for a discussion in another post, if you are interested..

      Alex

    • Hunter ScottH

      Starling 2 Max doesn't report battery information

      Starling & Starling 2
      • • • Hunter Scott
      10
      0
      Votes
      10
      Posts
      335
      Views

      Eric KatzfeyE

      @Hunter-Scott Can you update to SDK 1.6.0? Then do the ver all and qshell voxl_esc status commands again and attach the output?

    • Rowan DempsterR

      Running QVIO on a hires camera

      GPS-denied Navigation (VIO)
      • • • Rowan Dempster
      4
      0
      Votes
      4
      Posts
      57
      Views

      Alex KushleyevA

      @Rowan-Dempster , you should use a monochrome stream (_grey), since QVIO needs a RAW8 image.

      If you are not using MISP on hires cameras, that is fine, you can start off using the output of the ISP.

      You should calibrate the camera using whatever resolution you decide to try. This is to avoid any confusion, since if you using ISP pipeline, the camera pipeline may select a higher resolution and downscale + crop. So whenever you are changing resolutions, it is always good to do a quick camera calibration to confirm the camera parameters.

      When using MISP, we have more control over which camera mode is selected, because MISP gets the RAW data, not processed by the ISP, so we know the exact dimensions of the image sent from camera.

      Alex

    • voxltesterV

      VOXL2 Time

      Ask your questions right here!
      • • • voxltester
      2
      0
      Votes
      2
      Posts
      26
      Views

      Eric KatzfeyE

      @voxltester It uses the NTP to update time and date. So, once you have an internet connection, it will update.

    • Rowan DempsterR

      Migrating from QVIO to OpenVINS (SDK1.6)

      GPS-denied Navigation (VIO)
      • • • Rowan Dempster
      2
      0
      Votes
      2
      Posts
      101
      Views

      Rowan DempsterR

      Tagging people who might have the most context here: @Cliff-Wong @Clifford-Wong @zauberflote1, any comments / studies on comparative performance, as well tuning routines to get the best performance out of a running OpenVINS on a new airframe?

      Perusing posts about OpenVINS from the past year: https://forum.modalai.com/search?matchWords=all&in=titles&showAs=posts&replies=&repliesFilter=atleast&timeFilter=newer&timeRange=&sortBy=topic.lastposttime&sortDirection=desc&term=openvins I found some information about drifting and how to address it. But I'm not sure if that's the most up to date advice, it looks like the module is still under active development. Is the module in a place where it is ready for general customer use? The starling2 drones that ship with SDK1.6 use OpenVINs for localization, not QVIO, correct?

      Thank you for any input!

    • J

      Ros2 Humble on Voxl2

      ROS
      • • • jmltt
      4
      0
      Votes
      4
      Posts
      148
      Views

      J

      @Zachary-Lowell-0

      Thank you for the feedback! This was very helpful

    • Ashish KumarA

      Request Support: VOXL 2 Mini No USB Power / Dim LED Issue

      Support Request Format for Best Results
      • • • Ashish Kumar
      15
      0
      Votes
      15
      Posts
      338
      Views

      Ashish KumarA

      @tom Thank you. I will submit an RMA request.

    • C

      Flashing Custom Ardupilot Firmware

      Ask your questions right here!
      • • • clange
      2
      0
      Votes
      2
      Posts
      18
      Views

      Eric KatzfeyE

      @clange Yes, definitely. All the support to build a Debian package for installation is in https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_HAL_QURT/packaging

    • N

      EM9291 eSIM profile

      Cellular Modems
      • • • NSammons
      1
      0
      Votes
      1
      Posts
      26
      Views

      No one has replied

    • A

      IP Routing on VOXL2 with Microhard modem + IP camera

      VOXL 2
      • • • Aaky
      1
      0
      Votes
      1
      Posts
      17
      Views

      No one has replied