Skip to content

VOXL SDK and Software

389 Topics 2.0k Posts

voxl-sdk releases, MPA services, camera and video pipelines, Remote ID, and building and deploying your own software on VOXL.

  • New SDK performance mode

    Unsolved voxl-sdk
    7
    0 Votes
    7 Posts
    2k Views
    Jeffrey MaoJ
    Thanks it works like a charm now for the help
  • ROS2 Communication Issues between Ethernet and FOXY

    Unsolved ros
    6
    0 Votes
    6 Posts
    3k Views
    Jeffrey MaoJ
    For a final wrap-up, we installed ROS2 Humble from Source on Voxl2 this fixed the communication issues. We also noticed in Foxy if we we had the following set up on the same device Publisher A -> (TOPIC A) Subscriber A (Which Publishes Topic B ) Topic A publishes 500Hz Topic B publishes at 400Hz ish In Humble, Topic A publishes 500Hz Topic B publishes at 500Hz
  • Controlling servo/gripper from VOXL2

    Unsolved voxl-sdk
    1
    0 Votes
    1 Posts
    751 Views
    No one has replied
  • voxl-logger to log files at my computer

    Unsolved
    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..
  • 0 Votes
    2 Posts
    1k Views
    ?
    @Manu-Bhardwaj Hey Manu, happy to help you with this and any other questions you may have. Can I start by asking what version of the VOXL SDK you're using? /etc/modalai/voxl-tflite-server.conf is a file that is written upon flashing the SDK and so I'm surprised to hear the file isn't being found. If by some chance it got deleted, you might benefit from re-flashing the SDK. Also in your email I saw you had some other questions about VOXL TFlite Server, maybe you'd like to post those here or create a new forum topic? Looking forward to helping you on this! Thomas Patton
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • m500 VOXL Flight sdk update to v1.1.x

    Unsolved voxl-sdk
    26
    0 Votes
    26 Posts
    10k Views
    ModeratorM
    @Darshit-Desai Can you try the v1.13 PX4 for the Flight Core? https://docs.modalai.com/flight-core-v2-firmware/
  • Writing a Custom UART Driver

    Unsolved voxl-sdk
    7
    0 Votes
    7 Posts
    2k Views
    LucaVertiqL
    @Eric-Katzfey Thanks to you we now have our motors running right off the SLPI processor with PX4 as a UART 'bus'. Everything seems to work great. The main issue was figuring out what qshell commands to send to start it up properly.
  • GPS Issue | GPS blinks red and no data

    Unsolved
    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.
  • 0 Votes
    3 Posts
    1k Views
    Darshit DesaiD
    @Moderator I think none of the previous yolo versions allow tracker usage without having explicit access to the model itself, and based on what I read on the modal ai documentation there is no way to do that.
  • m500 ROS 2 Support

    Unsolved ros
    5
    1 Votes
    5 Posts
    1k Views
    Alex KushleyevA
    I just tried this real quick on VOXL1 and indeed there is an issue related to pty on PC: docker pull arm64v8/ros:rolling-ros-core docker image save arm64v8/ros:rolling-ros-core | gzip > rolling-ros-core-arm64v8.tar.gz adb push rolling-ros-core-arm64v8.tar.gz /data/ on VOXL1: adb shell cd /data docker load < rolling-ros-core-arm64v8.tar.gz cd /home/root mkdir ros2 cd ros2 docker run -it --rm --privileged -v `pwd`:/home/user -w /home/user arm64v8/ros:rolling-ros-core #now inside docker container apt-get update apt install python3-colcon-common-extensions then follow example to set up a demo project : https://roboticsbackend.com/ros2-launch-file-example/ run (inside docker container) colcon build Error: stdout_descriptor, stdout = pty.openpty() File "/usr/lib/python3.10/pty.py", line 34, in openpty master_fd, slave_name = _open_terminal() File "/usr/lib/python3.10/pty.py", line 64, in _open_terminal raise OSError('out of pty devices') OSError: out of pty devices --- Failed <<< my_robot_bringup [0.21s, exited with code 1] Summary: 0 packages finished [3.72s] 1 package failed: my_robot_bringup 1 package had stderr output: my_robot_bringup out of pty device After doing a quick search, cannot figure it out. It is probably related to very old docker version on VOXL1.. Not sure if anything can be done..
  • Issue with ros-melodic-cv-bridge and voxl-vision-hub conflict on VOXL2

    Unsolved ros
    8
    0 Votes
    8 Posts
    3k Views
    Zachary Lowell 0Z
    Hi @dlee and @smilon so if you are installing your vision_opencv into sudo, then the conflicts will wipe out a ton of MPA and SDK programs. This is highly recommended NOT to be done. Instead either use docker, or leverage the package as a third party in a virtual environment or something along that nature. voxl-vision-hub should be on target from the SDK installation: voxl2:/$ sudo apt-get install voxl-vision-hub Reading package lists... Done Building dependency tree Reading state information... Done voxl-vision-hub is already the newest version (1.7.3). voxl-vision-hub set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. However, most likely had the deb wiped or reconfigured when installing the opencv you were trying to leverage. Provided you guys are on sdk 1.1.2, you can just go into the tarball that has since been untarred and adb push the voxl-suite/voxl-vision-hub deb to the voxl2 and then do a sudo dpkg -i voxl-vision-hubXXXDEB - that will install it back onto the system. The other option is to either reflash or do a sudo apt-get upgrade which would pull the most recent debs from the modalAI apt repository on the cloud. Let me know if this helps either of you!
  • compiling voxl-tflite-server

    Unsolved
    2
    0 Votes
    2 Posts
    830 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
  • VOXL2 I2C access from FC

    Unsolved ros
    3
    0 Votes
    3 Posts
    1k Views
    ceu gomezC
    @Eric-Katzfey We got around it by forcing UART mode and connecting through an FTDI converter. Thanks anyway!
  • StarlingV2: ROS2 offboard control using voxl-microdds-agent

    Unsolved ros
    2
    0 Votes
    2 Posts
    1k Views
    S
    Ok, in a stroke of epipahny I realised that when switched to offboard mode through ROS2, the drone attempts to do both the modalAI "figure eight" that was configured in /etc/modalai/voxl-vision-hub.conf and satisfy the TrajectorySetpoint given to it by ROS2, resulting in this very jerky motion. Switching offboard_mode parameter to "off" solved this issue!! Works flawlessly now. Any ideas how I can switch off passing the local odometry to PX4 and pass /vvhub_body_wrt_fixed instead? If I just publish to /fmu/in/visual_vehicle_odometry does it only take input from the publisher or will it publish from both sources similar to the offboard mode example? :)))
  • Recommended ROS2 Installation flow for VOXL2

    Unsolved voxl-sdk
    2
    0 Votes
    2 Posts
    2k Views
    ceu gomezC
    nevermind, this is fixable with voxl-configure-mpa-to-ros2 and voxl-configure-pkg-manager. Leaving this up for anyone else having the same problem.
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Options for running Ros2 Humble

    Unsolved ros
    2
    0 Votes
    2 Posts
    1k Views
    Eric KatzfeyE
    @K-Stute Running in a Docker is the most straightforward way to do this. We are planning an update to Ubuntu 20.04 in the future but the timeline on that isn't certain yet.
  • Not able to setup mavsdk

    Unsolved
    3
    2
    0 Votes
    3 Posts
    711 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

    Unsolved
    1
    0 Votes
    1 Posts
    916 Views
    No one has replied