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
    • A

      How to attach a servo motor to VOXL 2

      Ask your questions right here!
      • • • ashwin
      5
      0
      Votes
      5
      Posts
      113
      Views

      A

      Hello @Alex-Kushleyev @Eric-Katzfey

      I am looking to control the servo via PX4.
      Essentially, it will be a command either from the RC or GCS to open / close the servo motor.

      But, if that is infeasible, I can make it work via an API on the CPU / Linux on VOXL 2 to be controlled via SSH.

      Regards,
      Ashwin

    • G

      VOXL2 HITL Sim with Gazebo in Docker - gazebo/voxl2 communication

      Ask your questions right here!
      • • • garret
      7
      0
      Votes
      7
      Posts
      122
      Views

      G

      RESOLVED

      for those who come after:

      it was indeed an ftdi cable issue. Keep in mind that MCBL-00091-1 USB to Serial UART Cable is not a proper cable (i tried two freshly out of the box, and none worked). Currently using this cable: https://www.amazon.sa/-/en/Moyina-Converter-Terminated-BeagleBone-Minnowboard/dp/B06ZYPLFNB

    • T

      Voxl2 GPIO linux control

      Ask your questions right here!
      • • • tonygurney
      1
      0
      Votes
      1
      Posts
      41
      Views

      No one has replied

    • K

      How to tune OpenVins

      GPS-denied Navigation (VIO)
      • • • Kessie
      11
      1
      Votes
      11
      Posts
      672
      Views

      Jetson NanoJ

      @Cliff-Wong @Kessie
      Guys can you help me out here.

    • Jetson NanoJ

      CPU Temperature Logging

      VOXL 2
      • voxl2 cpu sensors • • Jetson Nano
      5
      0
      Votes
      5
      Posts
      268
      Views

      K

      @tom Is there a way to voxl-logger the outputs from voxl-inspect-cpu and play it so that I can see the graphs on voxl-portal? Currently I can only voxl-inspect-cpu or view the graphs in real-time on voxl-portal, but I would like to record the data when the drone flies and review it post-flight

    • K

      cpu 0 to 3 vs 4 to 7

      Ask your questions right here!
      • • • kerct
      3
      0
      Votes
      3
      Posts
      87
      Views

      K

      @Moderator oh I see, so to reduce overheating would it be recommended to use the default settings instead of limiting my process to cpu 4 to 7?

    • B

      Starling 2 Max Not Powering On

      Support Request Format for Best Results
      • • • bspe13b
      1
      0
      Votes
      1
      Posts
      44
      Views

      No one has replied

    • Hector GutierrezH

      VOXL2 running always hot - Is it safe ? Are there alternatives ?

      Starling & Starling 2
      • • • Hector Gutierrez
      2
      0
      Votes
      2
      Posts
      52
      Views

      Eric KatzfeyE

      @Hector-Gutierrez Point a small fan at the VOXL 2 while you have it on your desktop. You need to have air flow. When it is on a drone and flying you get a lot of airflow from the propellers but on the desktop you should have a small fan.

    • W

      Cannot get microhard modems to connect

      Ask your questions right here!
      • • • wrossi17
      1
      0
      Votes
      1
      Posts
      31
      Views

      No one has replied

    • W

      Starling 2 max not displaying map on ground control

      Ask your questions right here!
      • • • wrossi17
      3
      0
      Votes
      3
      Posts
      62
      Views

      W

      @tom i figured it out thank you

    • Q

      Relocating Sensors and Connectors or Extended Cables

      Support Request Format for Best Results
      • • • QSL
      3
      0
      Votes
      3
      Posts
      74
      Views

      Q

      @Moderator This is appreciated, I had however already seen these docs. My issue is that though you have a 15cm extension that does not account for the orientation of the Voxl2 in relation to the sensor and location to mount them. due to this the 15cm connector is not long enough. Is there any advice on how we can extend these sensors beyond these lengths? Is there some shielding or other potential signal boosting we can do? Our goal is to eventually be able to position the sensors further away from the voxl2 as we want to use the hardware on much larger platforms where the rear sensors will need to be further than our current test development.

      TIA for any insight.

    • Aaron PorterA

      Playing with VFC

      Ask your questions right here!
      • • • Aaron Porter
      4
      0
      Votes
      4
      Posts
      121
      Views

      Aaron PorterA

      So something that I was seeing while testing this was having a bit of instability with Open VINS flying and altitude flying (Not Using VFC). I was seeing that voxl-open-vins-server stated that the IMU temperature was too high and kept resetting. After letting the VOXL2 cool down for a day I was able to have the Drone Fly in VFC mode but not sure how it flew compared to Position mode using VIO.

    • Andrew MartinA

      Flashing error

      Ask your questions right here!
      • • • Andrew Martin
      6
      0
      Votes
      6
      Posts
      158
      Views

      tomT

      @Andrew-Martin You can check your camera calibration files with voxl-check-calibration

      If you see any missing I can likely locate them and send them over to you

    • Raza RizviR

      Using SIYI Gimbal and Smart RC Controller with VOXL2

      Ask your questions right here!
      • • • Raza Rizvi
      11
      0
      Votes
      11
      Posts
      251
      Views

      Eric KatzfeyE

      @Jetson-Nano VOXL 2 does not have PWM out. You would need our IO expander board M0065 to bridge between UART and PWM. https://www.modalai.com/products/voxl2-io?variant=40610514206771

    • Jetson NanoJ

      voxl 2 rebooting when tflite server is ran

      Ask your questions right here!
      • • • Jetson Nano
      7
      0
      Votes
      7
      Posts
      164
      Views

      Jetson NanoJ

      @Alex-Kushleyev Thank you for reverting back.

    • D

      EIS merge

      VOXL 2
      • • • david.moro
      26
      0
      Votes
      26
      Posts
      1098
      Views

      Alex KushleyevA

      Initial docs are up : https://docs.modalai.com/camera-video/electronic-image-stabilization/

    • T

      GPIO numbering

      VOXL 2
      • • • tonygurney
      2
      0
      Votes
      2
      Posts
      53
      Views

      Alex KushleyevA

      @tonygurney , please see the doc page regarding GPIO and the offset:

      https://docs.modalai.com/voxl2-linux-user-guide/#gpios

      specifically,

      Starting SDK 1.2.X/System Image 1.7.3, GPIOs are exported by default in /sys/class/gpio, the GPIO have an offest of 1100 (e.g. GPIO 84 = 1184).
    • C

      tflite GPU usage

      Ask your questions right here!
      • • • cegeyer
      4
      0
      Votes
      4
      Posts
      100
      Views

      C

      @Moderator I think I might have found the problem. This portion of the code:

      https://gitlab.com/voxl-public/voxl-sdk/services/voxl-cpu-monitor/-/blob/master/server/voxl-cpu-monitor.c?ref_type=heads#L958

      This is reading the /sys/class/kgsl/kgsl-3d0/gpubusy file contents into a 15 byte buffer. The problem is the contents of the file are 15 bytes exactly, so when the sscanf is called, it is pulling the contents extending past the 15th byte in memory.

      I updated it to be a 16-byte buffer, zeroing out the 16th byte, and still reading only 15-bytes, and it is giving a proper gpu utilization percentage now, matching what is in the /sys/class/kgsl/kgsl-3d0/gpubusy and /sys/class/kgsl/kgsl-3d0/gpu_busy_percentage files.

      Name Freq (MHz) Temp (C) Util (%) ----------------------------------- cpu0 691.2 76.8 24.55 cpu1 691.2 76.0 17.78 cpu2 691.2 76.0 16.55 cpu3 691.2 76.8 17.34 cpu4 1286.4 76.8 1.74 cpu5 1286.4 79.9 33.74 cpu6 1286.4 76.8 0.58 cpu7 844.8 77.2 0.00 Total 77.0 14.04 10s avg 14.53 ----------------------------------- small cores only 19.06 big cores only 9.02 ----------------------------------- GPU 587.0 77.6 39.16 GPU 10s avg 38.52 ----------------------------------- memory temp: 79.2 C memory used: 2930/7671 MB ----------------------------------- Flags CPU freq scaling mode: auto Standby Not Active ----------------------------------- $ cat /sys/class/kgsl/kgsl-3d0/gpubusy 418136 1034679 $ cat /sys/class/kgsl/kgsl-3d0/gpu_busy_percentage 40 % // gets gpu busy value static float _get_gpu_busy() { fflush(stdout); float gpu_busy[2]; // stores busy values float gpu_busy_ret = 0; char buf[16]; int fd, ret; buf[15] = 0; fd = open(SYSTEM_GPU_BUSY_COUNTER, O_RDONLY); if(fd<0){ perror("ERROR failed to open gpu busy counter for reading"); return 0; } ret = read(fd, buf, sizeof(buf)-1); if(ret<1){ perror("ERROR failed to read gpu busy counter"); close(fd); return 0; } sscanf(buf, "%f %f", &gpu_busy[0], &gpu_busy[1]); if(en_debug){ printf("gpu busy: %f %f\n", (double)gpu_busy[0], (double)gpu_busy[1]); } if (gpu_busy[1] == 0){ // check if gpu_busy[1] is 0 to avoid divide by 0 errors close(fd); return 0; } gpu_busy_ret = (gpu_busy[0] / gpu_busy[1])*(float)100; close(fd); return gpu_busy_ret; }
    • Jetson NanoJ

      voxl-open-vins-server

      Ask your questions right here!
      • • • Jetson Nano
      13
      0
      Votes
      13
      Posts
      375
      Views

      Jetson NanoJ

      @zauberflote1 @Cliff-Wong @James-Strawson
      guys, can you help me with the error mentioned.
      now i have an another error where, if I arm the drone, the vio is drifting, and i can see the values increasing without any movement.
      what would cause this kind of errors, earlier the drone was flying fine, then it started drifting, even when just armed.

    • Muqing CaoM

      Question regarding product application

      Ask your questions right here!
      • • • Muqing Cao
      4
      0
      Votes
      4
      Posts
      93
      Views

      Aaron PorterA

      @Muqing-Cao You can get the VIO data from the ROS1 and ROS2 Topic /ov_overlay , /ov, or /qvio depending on which VIO you are using. Both have the same type interfaces available so either should work. Yes, you will be able to get run the commands on a host computer and as long as they are on the same ROS_DOMAIN_ID, for ROS2 this should be automatic.