Skip to content

General Questions

2.3k Topics 11.3k Posts

Not sure where your question goes? Ask here. ModalAI engineers and the community answer questions about any VOXL product.

  • How to load a vxblx file into voxl-mapper

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    I
    @Moderator Hi, do you know where can I get a description of the tsdf file format that the voxl-mapper uses?
  • voxl mpa to ros melodic voxl2 aidetection message header file missing

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    Darshit DesaiD
    @Moderator @Zachary-Lowell-0 there is a similar issue with trying to include the message type AIDetection.h in ROS2 mpatoros2.
  • VOXL2 Tag Detector with ROS2

    Unsolved
    1
    0 Votes
    1 Posts
    413 Views
    No one has replied
  • Creating a Clode backup Image on VOXL 1 computer.

    Unsolved
    2
    0 Votes
    2 Posts
    510 Views
    ModeratorM
    @Niek-van-Oostenbrugge We recommend replacing the files in the offline installer with your own
  • VOXL2 OV9782 and other camera supported frame rates. +QVIO

    Unsolved
    2
    0 Votes
    2 Posts
    800 Views
    ModeratorM
    @jameskuesel 30FPS currently. The AR0144 modules will outperform OV9782 modules as they have a better sensor and better lens
  • Cannot communicate over adb/fastboot after flashing image

    Unsolved
    20
    0 Votes
    20 Posts
    5k Views
    tomT
    @Kashish-Garg-0 It's possible your board has a QSM8250 (M0054-2) instead of a QRB5165 (M0054-1), see here for the diffs: https://docs.modalai.com/m0054-versions/#m0054-1-and-m0054-2 If that is the case then you will have to QDL using a different build, which you can download from downloads.modalai.com, look for M0054-2 Starling QDL Image 1.7.4 2024-02-09-1.7.4-M0054-2.zip under the "All" category
  • Voxl 2 and Doodle Helix

    Unsolved
    10
    1
    0 Votes
    10 Posts
    2k Views
    wilkinsafW
    I tried on a different voxl2 with voxl-suite: 1.2.0 installed the other one had voxl-suite 1.1.3 installed. Not sure if that makes a difference....or if the configuration of the voxl2 was different..... Either way if you are facing the same issue try SDK 1.2.0
  • Changing the default VOXL2 SSH password

    Unsolved
    2
    0 Votes
    2 Posts
    705 Views
    tomT
    @rohitpillai Sure it would be the same process as any other linux machine. Just run: sudo passwd
  • Starling: unable to run adb shell

    Unsolved
    3
    0 Votes
    3 Posts
    890 Views
    david devassyD
    @modaltb Hi thanks for the update. I have used the file which is shared by modal AI team through email and it worked 100% Here is the file https://storage.googleapis.com/modalai_public/qdl/2024-02-09-1.7.4-M0054-2.zip Thanks again.
  • voxl-camera-server stalls/crash

    Unsolved
    3
    0 Votes
    3 Posts
    952 Views
    Steve TurnerS
    @Moderator we have tried swapping modules, cameras, and VOXL2(minis) Generally, it is exacerbated by the extension cables.
  • collision prevention problem

    Unsolved
    6
    2
    0 Votes
    6 Posts
    2k Views
    R
    @Eric-Katzfey Sorry, I didn't save the stereo camera images from voxl-logger, so I can only provide the PX4 log file. Currently, I am addressing the exposure issue using the method I mentioned earlier, and it seems to have improved the effectiveness of collision prevention. Additionally, to ensure that the drone can stably stop in front of obstacles, I made the following modifications to the voxl-vision-hub code. int pie_binner_filter_to_mavlink_msg(pie_binner_t* b, mavlink_message_t* msg) { int i,j; // final distance data for px4 uint16_t distances[72]; uint16_t dist_max_cm = b->dist_table.dist_max * 100.0f; // now set the bins to max_distance +1 means no obstacle is present. for(i=0;i<72;i++){ distances[i] = dist_max_cm - 10; } if(b->ringbuf.items_in_buf>0){ // scan bins for any that meet the criteria // for each angle.... for(i=0; i<b->rows; i++){ // scan the distances from inside out, remember we have one extra column // than we do distance bins for(j=0; j<(b->cols-EXTRA_BINS_TO_CHECK); j++){ // skip empty bins if(b->map_points[i][j] <= 0) continue; // sum up points in this bin, the two on either side // and the three behind it int sum = 0; for(int k=-1; k<=1; k++){ // row (angle) to inspect with wraparound check int ii = i-k; if(ii<0) ii+=b->rows; else if(ii>=b->rows) ii-=b->rows; // sum points in this bin plus extras for(int m=0; m<=EXTRA_BINS_TO_CHECK; m++){ sum += b->map_points[ii][j+m]; } } // check the sum of points in all the neighbors if(sum >= b->pie_threshold){ float dist_m = b->map_dist[i][j] / b->map_points[i][j]; // if(dist_m<0.1f) continue; // error check, not needed? uint16_t dist_cm = dist_m * 100.0f; if(dist_cm<150) continue; else if(dist_cm>=150){ distances[i] = dist_cm; last_dis[i] = distances[i]; zero_count[i] = 0; //printf("added a distance! i: %d j:%d dist: %5.1fm\n", i, j, (double)dist_m); break; // move onto next angle } // distances[i] = dist_cm; // break; } } if(zero_count[i]<30){ distances[i] = last_dis[i]; zero_count[i]++; } } } // TODO investigate if min distance changes px4 behavior or not #define MIN_DISTANCE_CM 0 // set other params for mavlink message uint64_t time_usec = 0; uint8_t increment_int = 0; // use the float field instead float increment_f = 360.0f / b->tan_table.n_bins; float angle_offset = 0.0f; // 0 means bin 0 is straight ahead along X mavlink_msg_obstacle_distance_pack(autopilot_monitor_get_sysid(), VOXL_COMPID,\ msg, time_usec, MAV_DISTANCE_SENSOR_UNKNOWN, distances, increment_int,\ MIN_DISTANCE_CM, dist_max_cm, increment_f, angle_offset, MAV_FRAME_BODY_FRD); return 0; } However, during the drone's flight to the right, it suddenly pauses. The drone's distance sensors are only equipped with front-facing stereo cameras, so they shouldn't detect obstacles on the right side. Why is this happening? Is there a way to solve it? Here is my PX4 log file https://review.px4.io/plot_app?log=fb1ae613-4e56-49a2-a60f-bc272edd78c1
  • TFLite multiple model execution

    Unsolved tflite-server voxl2
    4
    0 Votes
    4 Posts
    2k Views
    ?
    @nickk14 Awesome, glad to hear it! Yeah, we've actually mounted fans to our boards that run multiple models simultaneously because the thermals definitely get up there. Might be worth thinking about depending on your application. All the best, let me know if I can help out in any other way. Thomas
  • VOXL2 starling bootable images

    Unsolved
    9
    0 Votes
    9 Posts
    2k Views
    Darshit DesaiD
    @Eric-Katzfey as far as I know docker image in the voxl2 ecosystem is used for installing stuff like a different version of Ros or opencv or some other dependency. In my case I modified a lot of back end services and the .conf files, that along with some of the Ros dependencies make the process of cloning a drone atleast 1.5 hr long. Making a docker image for ros dependencies and installing it would shave off only half off that time the other half I would still need to reconfigure voxl2 sdk as my other drone. For 4-5 drones it's fine, but for more 5 it's not
  • M0014 vs M0149 tracking cameras for indoor VIO

    Unsolved
    3
    0 Votes
    3 Posts
    660 Views
    Jeremy FrederickJ
    @Moderator Great, I noticed in SDK 1.2 there is now support for dual tracking cameras in the camera server, can both feeds be fed into the QVIO service to allow for the use of both cameras in VIO?
  • ESC Calibration

    Unsolved
    2
    0 Votes
    2 Posts
    441 Views
    Alex KushleyevA
    @Manu-Verma , please see the details in the link below. Please note that Modalai ESC calibration is not the same thing as the typical ESC calibration. QGC does not support calibrating ModalAI ESCs and it needs to be done using voxl-esc tools running either directly on VOXL2 or a Linux PC. https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc/-/blob/dev/voxl-esc-tools/calibration.md
  • Using a aftermarket Power Module for the Flight Core V2

    Unsolved
    3
    0 Votes
    3 Posts
    596 Views
    L
    @Moderator thank you I appreciate it.
  • Using a custom tflite model in VOXL 2

    Unsolved
    8
    2
    0 Votes
    8 Posts
    2k Views
    Mihir BalaM
    Hello, I am trying to get pretty much the same thing working on the VOXL 2 with a Yolov5 model that only has one class. I am seeing similar outputs when I deploy it to the drone. @Siyu-Chen, what steps did you go through to get this working on your device? The model inferences just fine on my computer. I think it has something to do with the pre/post-processing. Thanks in advance for your help.
  • PX4 logging frequency

    Unsolved
    3
    0 Votes
    3 Posts
    2k Views
    Eric KatzfeyE
    @boga If SDLOG_PROFILE doesn't have what you are looking for then you can set up a custom set of log topics / rates from a file. You don't need to recompile PX4 to use it. https://docs.px4.io/main/en/dev_log/logging.html#sd-card-configuration
  • NDAA Compliance for LTE or 5G modems

    Unsolved
    1
    0 Votes
    1 Posts
    451 Views
    No one has replied
  • flashing VOXL2 errors

    Unsolved
    3
    0 Votes
    3 Posts
    887 Views
    Hyunsoo Kim 0H
    @Wei-Cui How did you wipe the /data?