Skip to content

Software Development

501 Topics 2.5k Posts

Questions about developing software on the products

Subcategories


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

    127 571
    127 Topics
    571 Posts
    R
    Hi, I was doing already autonomous mission again and again succefully with two drones. later I also encountered few crashes some of them prety harsh. but I was able to recover. also sufered from px4-param being deleted/corrupted. Now I test everyting and I cannot get the first drones to work with my code. when I switch to offbaord it immidiatly lands: VOXL-FC] heartbeat: armed=0 mode=OFFBOARD [VOXL-SVC] authority revoked (pilot takeover / link loss) — standing down (no re-request). [VOXL-SVC] WAIT_VIO: VIO velocity unstable (VIO backend converging) (65 s) [VOXL-SVC] WAIT_VIO: VIO pose stale (70 s) [VOXL-SVC] WAIT_VIO: VIO pose stale (75 s) with a new drone out of the box it works great. I suspect it has something to do with with overwritten params that I am not aware of. tried pulling the params from the good drone by px4-param show -a and compare them. without a good conclusion. my second guess is that somehow the cameras or other elements are oscilating and make the vio speed estimation not good and that is why these two drone fail to start the mission. can you help with a step by step procedure to eliminate the prorblem. I have tested the services, the cameras and it all looks fine. BR, Roy
  • General questions regarding the VOXL SDK that do not fit into other categories

    44 337
    44 Topics
    337 Posts
    Alex KushleyevA
    @cguzikowski , Sorry for the delay. Regarding the new HW not working, since you have two identical setups, i would recommend swapping components to identify what exactly is not working. This is the most efficient way to diagnose it. From the logs you provided, the ov64b camera is detected and initialized, it seems, but no frames come in, which could be a cabling or interposer issue. I will get back to you with an update on the lens shading tomorrow. Alex
  • Questions about developing software on the products

    73 354
    73 Topics
    354 Posts
    Eric KatzfeyE
    @bschulzhf PX4 will only correct incoming messages. Something external will have to also run TIMESYNC with PX4 to estimate the offset and correct and incoming PX4 message timestamps that it wants to align. voxl-mavlink-server does this for a few messages.
  • Questions about developing software on the products

    45 249
    45 Topics
    249 Posts
    T
    @Eric-Katzfey Yes that worked. Thanks!
  • Questions about developing software on the products

    13 64
    13 Topics
    64 Posts
    Zachary Lowell 0Z
    @Nitin-Varma-Vegesna said in Apriltag relocalization not relocalizing?: @Nitin-Varma-Vegesna Is there any release that is known to work for April Tag Detection? https://gitlab.com/voxl-public/voxl-sdk/services/voxl-tag-detector The dev branch is the most recent - I have to check with the engineering team on this as I am unsure the priority of april tag detection and positioning based off it. Will relay back
  • 68 336
    68 Topics
    336 Posts
    AniruddhaA
    @ApoorvThapliyal Thank you for your help. also I was able to work with jazzy by only subscribing and printing with node. since error only occurred when I tried to echo the topic and not when another node is subscribing it. but using docker seems like most viable option to me since I m using ubuntu 24.04. Thank you for your help again
  • 20 Topics
    60 Posts
    Manoj KashyapM
    @tom can anyone help me with this
  • Questions about developing software on the products

    1 2
    1 Topics
    2 Posts
    ModeratorM
    @Mastermind That sounds like it would be possible, but obviously depends on the driver of the wlan adapter you choose. You would need to implement the bluetooth broadcast portion of Remote ID. The source code for voxl-remote-id is here and only currently supports the Wifi portion of Remote ID
  • Build modalai/px4-firmware

    2
    0 Votes
    2 Posts
    448 Views
    Eric KatzfeyE
    @Matt-Holmes You have to be on the voxl-dev branch
  • Custom software flashing

    2
    0 Votes
    2 Posts
    571 Views
    Eric KatzfeyE
    @Filip-Slezak-0 The standard way to install px4 is via a Debian package. You can look at our px4 "wrapper" project to see how we create the package here: https://gitlab.com/voxl-public/voxl-sdk/services/voxl-px4/-/blob/master/make_package.sh
  • yolov5_labels.txt file for yolov5_float16_quant.tflite model

    1
    0 Votes
    1 Posts
    437 Views
    No one has replied
  • Unable to use voxl-inspect-battery

    1
    0 Votes
    1 Posts
    306 Views
    No one has replied
  • Voxl-mapper -d error / map generation error

    5
    0 Votes
    5 Posts
    895 Views
    S
    @James-Strawson ERROR fetching tf from tf ringbuffer - published constantly. [image: 1689581930287-image1.png]
  • voxl_vision_hub.h missing

    2
    0 Votes
    2 Posts
    507 Views
    James StrawsonJ
    @Tjark Thanks for pointing this out! I applied your fix in voxl-vision-hub v1.6.7 which is now up on the staging repository and will be included in SDK 1.0.1 Best Regards, James
  • Voxl 1 voxl-mavlink-server bus error

    2
    1
    0 Votes
    2 Posts
    719 Views
    Philemon BennerP
    @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
  • voxl2 uart mode

    2
    0 Votes
    2 Posts
    532 Views
    Eric KatzfeyE
    @relevinsky For now your best bet will be to get an add on card that has a UART available for the applications processor. Future software releases will provide access to a UART on the DSP (As long as the flight controller isn't running) but that is not available today.
  • Baremetal peripheral interaction via the SDSP

    9
    0 Votes
    9 Posts
    1k Views
    Eric KatzfeyE
    @Alex-Pabouctsidis Nice! That whole process and API will be cleaned up in the future but looks like you were able to figure it out. All of the actual I/O driver code is baked into the sensors DSP image. As Qualcomm licensees we have access to it (and build that image) but we cannot share it.
  • compiling 32-bit voxl-qvio-server code on VOXL2

    2
    0 Votes
    2 Posts
    472 Views
    tomT
    @relevinsky reposting my answer from another thread: The VOXL SDK projects aren't meant to be built on VOXL2 itself. We offer a few different docker images to build on a PC, voxl-qvio-server on VOXL2 is built using qrb5165 emulator: https://docs.modalai.com/voxl-emulator/#install-the-voxl-emulator-docker-image while some other projects are built using voxl-cross: https://docs.modalai.com/voxl-cross/#install-pre-built-voxl-cross
  • Missing newest apq8096 and qrb5165 proprietary

    1
    0 Votes
    1 Posts
    513 Views
    No one has replied
  • Issues with SFTP with python

    2
    0 Votes
    2 Posts
    911 Views
    Alex KushleyevA
    I believe you first need to enable SFTP functionality in ssh server on the drone, for example https://www.pcwdld.com/setup-sftp-server-on-ubuntu seems to provide instructions (i did not verify the correctness of the instructions). A better solution, in my opinion, would be to use scp from your python client. You can copy the ssh key directly to the drone, so you don't have to enter the password in the script. Then you could call the scp command directly from Python using a system call or using Paramiko like in this example : https://stackoverflow.com/questions/250283/how-to-scp-in-python . Installing the ssh key on the drone will avoid storing plain text password on your PC. Is there a reason why you are trying SFTP instead of SCP?
  • Docker daemon fails to start on voxl

    40
    0 Votes
    40 Posts
    15k Views
    Y
    switch to wifi station mode - https://docs.modalai.com/wifi-setup/ It fixed for me
  • Feature Points in Qvio

    3
    0 Votes
    3 Posts
    630 Views
    Sri Siddarth Chakaravarthy PS
    Hi, would there be any way to classify the feature points used for QVIO based on some metric so that voxl could be able to handle points that are from reflected surfaces. I mean there could be some variable that measures the feature point as a potential point from reflection.
  • List of potentially supported cameras with voxl-sdk

    2
    0 Votes
    2 Posts
    834 Views
    ?
    With regards to camera server, the "types" that it takes define behavior more than actual reading of drivers. The underlying camera layer will deal with the actual querying of the sensor and using those drivers that you've posted, and the type in the camera server config file will define a few behaviors like resolutions, image format, allowable streams, etc, some of which are customizable in the config file. The imx214 type in there is named as such because initially that was the only imx sensor that we used, and its behavior is applicable to (at the very least that we've tested) the 377 and 412 as well; and would likely work on some of the others that you've mentioned.
  • Access VOXL2 cameras on ROS2 within docker container

    2
    0 Votes
    2 Posts
    914 Views
    Chad SweetC
    The pipes that voxl-camera-server publishes should be accessible in a Docker. You should be able to access them that way inside of a Docker. A voxl-mpa-to-ros2 service would be a good addition, we don't have that implemented yet.
  • Custom model deployment on voxl-tflite-server

    2
    0 Votes
    2 Posts
    408 Views
    Chad SweetC
    You can find the code for that TensorFlow Lite build here https://gitlab.com/voxl-public/voxl-sdk/third-party/qrb5165-tflite There are just few patches applied to get it to build correctly. You could try rebasing it to 2.11
  • 0 Votes
    2 Posts
    676 Views
    S
    With the updates to this page (specifically running the setup script voxl-configure-docker-support), this issue is resolved. Thank you @Chad-Sweet for updating the page!
  • Issues with takeoff in offboard mode w/ MAVROS & Voxl Flight Deck

    3
    1
    0 Votes
    3 Posts
    1k Views
    S
    Would love a solution to this too, having the same problem
  • voxl-modem-start.sh issue

    3
    1
    0 Votes
    3 Posts
    835 Views
    Philemon BennerP
    @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