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
  • Offboard Mode - MAVSDK - Drone random movement

    voxl2 vio mavsdk fcv2 odometry
    3
    0 Votes
    3 Posts
    1k Views
    Jetson NanoJ
    @Zachary-Lowell-0 as mentioned I have set offboard-mode in voxl-vision-hub.conf to "off". I did a flight test shifting to offboard-mode, The drone was able to execute the script in a stable way without any jittery motions or trying to come back to home position. These are the flight logs, https://review.px4.io/plot_app?log=e32a28df-cbba-4765-8499-6fe46e2ff890
  • 0 Votes
    1 Posts
    673 Views
    No one has replied
  • Voxl2 PID building and deployment on RB5

    px4-firmware pid voxl2 rb5
    22
    0 Votes
    22 Posts
    6k Views
    Eric KatzfeyE
    @tahawaru Okay, that shows you have 1.14.0-2.0.78. If you want to build 1.14.0-2.0.63 then you need to check that version out instead.
  • Split code to run on both application processor and Hexagon DSP

    2
    0 Votes
    2 Posts
    404 Views
    Eric KatzfeyE
    @enrico-bandera-0 It's not easy and, unfortunately, we cannot support that right now.
  • 0 Votes
    3 Posts
    1k Views
    A
    @Eric-Katzfey I figured out the problem. I changed the mavlink pipe to mavlink_onboard keeping the channel number as 1. Setting the channel number as 2 seems to fix the problem. I haven't looked into the implementation of modal-pipe architecture but I thought that the channel number is just used by the client of the pipe (kind of like an open file descriptor number?). Basically it looks like having the channel number as 1 breaks the mavlink pipe somehow.
  • The GPS is not working on auto-start

    18
    0 Votes
    18 Posts
    3k Views
    Captain 7thC
    @Eric-Katzfey Sure. Here is the link of the new post: https://forum.modalai.com/topic/3649/trouble-in-running-the-mavros_test-project-simple-example?_=1721124109041
  • 1 Votes
    3 Posts
    2k Views
    Manu Bhardwaj 0M
    @dario-pisanti Hi Dario, Thanks for sharing your issue. I'm also working with the Qualcomm Neural Processing SDK on VOXL2 Mini. The error you mentioned could be due to: Model compatibility issues during conversion. SDK configuration, especially for GPU. Double-check the GPU-specific settings in $SNPE_ROOT/bin/envsetup.sh and try running a simpler model to verify the GPU setup. Have you managed to resolve this, or do you have any additional details? I'm also trying to use the QNN SDK with ONNX runtime on VOXL2 Mini. Best, Manu
  • Unable to locate package libmodal-json in docker with ubuntu 22.04LTS

    16
    0 Votes
    16 Posts
    3k Views
    Alex KushleyevA
    @Judoor-0 , I am sorry, but i cannot help you with the mavsdk issue due to lack of knowledge of the subject. Please follow up in the appropriate thread and someone else should help you out! Alex
  • PX4 Build broken for SITL Targets

    2
    0 Votes
    2 Posts
    972 Views
    Eric KatzfeyE
    @ejohnson Yes, that is a bug. Don't have a suggestion off the top of my head.
  • Building voxl-streamer on voxl-cross Docker image

    7
    0 Votes
    7 Posts
    1k Views
    Eric KatzfeyE
    @AndriiHlyvko The issue is with dependencies. The emulator is built using the actual filesystem used on the VOXL platform so you get all of the correct dependencies. With voxl-cross it is sometimes very difficult to setup the dependencies properly.
  • 0 Votes
    3 Posts
    726 Views
    R
    @Moderator Thank you
  • voxl-logger to log files at my computer

    9
    0 Votes
    9 Posts
    2k Views
    Alex KushleyevA
    @rsr4z , voxl logger will create different directories and files for different data that it will be logging, so using a single socket for this will now work. If you REALLY want to have the log files saved directly to your PC and your network connectivity has the bandwidth to do it, then you can potentially map your desktop as a network drive (using sshfs or something like that). Then you can save your logs to the network drive. However, you should be aware of the following potential issues: ssh is encrypted, so encryption of data will take some additional cpu usage on VOXL (proportional to the amount of data) network-mapped drives are not always reliable, especially if you connection is not reliable, but there are sshfs flags you can try to automatically reconnect, etc.. if there is not enough bandwidth to save the data over your network connection, voxl-logger can get occasionally blocked and will drop packets on the MPA side Another option you can consider is saving the logs on voxl, and then using periodic rsync to get the data to your PC. rsync works over ssh as well. I just did a quick search and this came up (i did not try it): fswatch -o /src | xargs -n1 -I{} rsync -a /src /dest (https://stackoverflow.com/questions/12460279/how-to-keep-two-folders-automatically-synchronized) you would need to copy your voxl2's key onto your desktop so that you don't need to enter your password every time.. Finally, if you did not want to write to the VOXL2's drive at all, you could save the logs to tempfs (/dev/shm) and then rsync from there to your PC and have rsync delete the files after syncing in order to avoid filling up your RAM, but you have to be careful and not delete files that are still being written by the logger.. Hopefully this gives you a few options to think about..
  • GPS Issue | GPS blinks red and no data

    10
    0 Votes
    10 Posts
    1k Views
    Q
    @Eric-Katzfey it is kind of working now using the default config file. still not able to figure out what was the actual issue. Thanks anyways.
  • compiling voxl-tflite-server

    2
    0 Votes
    2 Posts
    750 Views
    ?
    @relevinsky What steps are you doing to compile the voxl-tflite-server code? It should be done within the voxl-cross Docker image. Also why SDK 0.9? Let me know how I can help. Thomas thomas.patton@modalai.com
  • Not able to setup mavsdk

    3
    2
    0 Votes
    3 Posts
    631 Views
    Jetson NanoJ
    @tom I sorted it out, I had to setup voxl-docker first which I hadn't done, after that I was able to continue. Thank you
  • Fail to apply GPU delegate with custom model on voxl-tflite-server

    1
    0 Votes
    1 Posts
    849 Views
    No one has replied
  • BlueOS

    2
    0 Votes
    2 Posts
    433 Views
    wilkinsafW
    Looking at what BlueOS is setup to do...it might be easier to modify modalAI's voxl portal than to get this to work with the current setup. The things I am looking to add immediatly is log download and additional ways to get information and status on voxl services such as journalctl logs
  • This topic is deleted!

    2
    0 Votes
    2 Posts
    12 Views
  • ros on voxl2

    1
    0 Votes
    1 Posts
    556 Views
    No one has replied
  • voxl2 flir boson and eth0

    1
    0 Votes
    1 Posts
    566 Views
    No one has replied