Skip to content

VOXL SDK

128 Topics 582 Posts

General questions regarding the VOXL SDK that do not fit into other categories

  • streamer default h265

    21
    0 Votes
    21 Posts
    5k Views
    B
    @Alex-Kushleyev Thanks for letting me know! I'll have to give it a try
  • Version control the Linux distro, ideas

    2
    0 Votes
    2 Posts
    695 Views
    Alex KushleyevA
    @Darshit-Desai , In short, the VOXL2 system image contains the main Linux OS that is built from open source components and it also contains open-source and closed-source components that are specific to Qualcomm hardware. Building the system image uses bitbake and a very long manifest which has a list of SW components, their exact version and source, as well as order in which the components should be built). you cannot use dd to back up and restore system partitions, as you may be able to do on a Raspberry Pi. Fastboot is the tool that is used to properly install the system partitions. voxl-suite is a collection of software that is installed on top of the base OS on VOXL2. For each SDK version, we also have a manifest of each component and version that should go into the SDK. Can you clarify which deb files you mean in its always annoying to install the deb files one by one and revving up the versions -- are you updating SDK or installing your some other deb files? It sounds like you may have per vehicle configuration (every set up is slightly different). You can differentiate the VOXL2 boards using the SoC serial number (cat /sys/devices/soc0/serial_number) and do your custom install based on the serial number. Basically you would have your own "manifest" of some type that may have common parts but also describe different settings for different boards (IP address, etc). You can maintain different bash files for each board and install them based on the serial number. Alex
  • voxl-streamer disconnecting then reconnecting

    1
    0 Votes
    1 Posts
    316 Views
    No one has replied
  • VOXL Flight image will not flash

    19
    1
    0 Votes
    19 Posts
    2k Views
    Kiazoa JoaoK
    @tom Thank you. I'll look it up.
  • px4 service issue

    9
    0 Votes
    9 Posts
    1k Views
    ben grocholskyB
    @tom that was from ubuntu 20.04. Looking back up the terminal history I see the install script stopped at: [ERROR] missing /data/modalai/sku.txt [ERROR] please run voxl-configure-sku to make a new one and didn't run the next setup steps. I didn't realize the flashing failed until seeing voxl-px4 couldn't start. And digging into that found this thread.
  • Download speeds for sdk slow

    4
    0 Votes
    4 Posts
    846 Views
    Peter MilaniP
    @tom yes that link worked fine, thanks
  • Lepton Thermal Camera for Object detection

    4
    0 Votes
    4 Posts
    632 Views
    Jetson NanoJ
    @Zachary-Lowell-0 Thank you for your reply. I will test it out and let you of any developments.
  • This topic is deleted!

    3
    0 Votes
    3 Posts
    46 Views
  • Best Method for Developping API

    voxl2 px4 mavlink mavros
    3
    0 Votes
    3 Posts
    2k Views
    G
    @Eric-Katzfey thanks! I got started using mavsdk and pymavlink
  • Modalai PX4 Branch vs main PX4 branch

    4
    0 Votes
    4 Posts
    735 Views
    Eric KatzfeyE
    @Jetson-Nano If you want v1.15 then you just build from mainline, not from our fork.
  • apt upgrade error

    3
    0 Votes
    3 Posts
    556 Views
    tomT
    @Judoor-0 I would recommend re-flashing the latest SDK from downloads.modalai.com Yes, /home/root gets wiped by default. When flashing a new SDK, /data is retained unless otherwise specified with a flag
  • Ultralytics version for voxl-tflite-server yolov8

    2
    0 Votes
    2 Posts
    805 Views
    Zachary Lowell 0Z
    @atomsmasher9 said in Ultralytics version for voxl-tflite-server yolov8: Reply Hi @atomsmasher9 - so ultralytics is leveraged for training - have you followed the instructions within this repository? https://gitlab.com/voxl-public/support/voxl-train-yolov8/-/tree/master?ref_type=heads Currently I have some updated written for this as well - so for example in export.py, this line: model.export("tflite") --> model.export(model = "tflite"), but I have yet to make the PR or commit for it - the README is relatively straight forward for how you can build a model leveraging docker, an nvidia gpu, and ultralytics to create the custom model. I was able to do these below and have a successful model created and uploaded to the voxl2 - ensure you place the model in /usr/bin/dnn directory alongside the labels.txt file to ensure you have the right labels - also you can manually update the file path in the conf file in /etc/modalai/voxl-tflite-server.conf.
  • Difference in A65 ToF output in Royale 4 vs. 5

    3
    0 Votes
    3 Posts
    529 Views
    Rowan DempsterR
    (top is Royale 4, bottom is 5)
  • Refactor voxl-camera-server into multiple processes (per cam)

    6
    0 Votes
    6 Posts
    906 Views
    Alex KushleyevA
    @Rowan-Dempster , I myself tried to do this some time ago and ran into issues, which i could not resolve. I am sure also someone else at Modal also tried it before me. If I remember correctly, my issue was that it could not get camera module in the second instance of the camera server, on this line, and i did not pursue this further (did not spend too much time on it though). https://gitlab.com/voxl-public/voxl-sdk/services/voxl-camera-server/-/blob/master/src/hal3_helpers.cpp?ref_type=heads#L79 So in your case you are able to get the camera module? To help debug, you should run logcat while you are trying this and see what messages might show up there. And, finally, just wanted to mention that we don't know if what you are doing is possible, but if you want to keep pursuing this direction, I can help if i know the answer to your questions, but may not be able to spend time working on it right now. EDIT: in order to see if separate instances of camera server are possible, you could try to see if you can run multiple instances of gstreamer plugin that uses qmmfsrc. I found a doc that should be helpful in testing this, take a look : https://thundercomm.s3-ap-northeast-1.amazonaws.com/shop/doc/1596593567074634/Thundercomm EB5_Multimedia SDK User Guide_V1.1_ie89e.pdf Specifically, the following command should work, although i did not test it: gst-launch-1.0 -e qtiqmmfsrc name=camsrc ! video/x-raw\(memory:GBM\),format=NV12,width=1920,height=1080,framerate=30/1 ! queue ! omxh264enc control-rate=max-bitrate target-bitrate=6000000 interval-intraframes=29 periodicity-idr=1 ! queue ! filesink location="/data/vid.h264" Also, i dont see how you sent the camera id in this example, but it should definitely be possible See if you can run two independent instances of gstreamer using different cameras. I think it should work, but not sure. Alex
  • SDK 1.3.3 voxl-inspect-cam -a latency bug, inspecting large stream

    3
    0 Votes
    3 Posts
    706 Views
    John NomikosJ
    @Alex-Kushleyev I tried on a fresh VOXL2 that I factory flashed with 1.3.3 and did not see the same issue. Was probably something caused by my setup (either in config or something else). I know that particular voxl2 had damage to one of the mipi ports too I appreciate the help!
  • custom uart usage

    5
    0 Votes
    5 Posts
    776 Views
    Eric KatzfeyE
    @giladWDS M0151 should expose /dev/ttyHS1 for use. It's just a UART so it isn't specific to external flight controllers.
  • Help with Connecting a Second SPI Device on VOXL2 J10

    1
    0 Votes
    1 Posts
    324 Views
    No one has replied
  • High CPU Load from voxl-px4

    1
    1
    0 Votes
    1 Posts
    518 Views
    No one has replied
  • UVC camera video recording and encoding implementation

    4
    0 Votes
    4 Posts
    831 Views
    A
    @Eric-Katzfey @Alex-Kushleyev not exactly what I was looking for. I already implemented it using ffmpeg library. Basically I wanted to use voxl-send-command utility to send start/stop recording commands while also have the ability to save snapshots. I didn't like the idea of using gstreamer pipes for implementing this so I chose ffmpeg. I think my solution is good enough for now. I am able to start/stop recordings do snapshots and embed xmp metadata into the snapshots. Although I might come back to using OMX library if I decide I need the hardware encoding.
  • Missing `voxl-inspect-sku` Command and Repository Issues

    4
    0 Votes
    4 Posts
    672 Views
    tomT
    @Rawdha-R Yeah that SDK is very old and doesn't have the SKU tooling in it yet. I would recommend flashing the latest SDK (1.3.3) from downloads.modalai.com under "VOXL 2 Platform Releases" Just follow the instructions here to do so: https://docs.modalai.com/flash-system-image/#flashing-a-voxl-sdk-release