Skip to content

General Questions

2.2k Topics 11.3k Posts

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

  • Voxl2 Volume Full

    Unsolved
    4
    1
    0 Votes
    4 Posts
    647 Views
    tomT
    @Stefan-Amundarain Thanks for your patience! There is a slight bug in the flashing script that doesn't handle fixing the partition layout correctly without forcing it via. that arg. It'll be fixed in the next release (SDK 1.3..0)
  • Tracking camera won’t initialize when configured with stereo

    Unsolved
    7
    0 Votes
    7 Posts
    1k Views
    Alex KushleyevA
    @Gary-Holmgren, Based on your results, the tracking camera is found in both cases (cam slot 2). It looks like one of the stereo cameras is not detected in camera configuration 03. Are you using the dual flex extension (30cm)? Maybe try to swap out flex cables?
  • ROS foxy PCL ROS

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    Darshit DesaiD
    @Zachary-Lowell-0 Yes I was able to install docker of u22.04, but at the same time when I was running everything on natively in melodic on the drone I was able to use 3rd party libraries like PCL ROS and I was able to install it, this was because the ROS installation was left on the user. I just thought it would be same with ROS2. Although now I have set up ARM64 dockers in my desktop ubuntu so now I can make as many changes on my desktop and just push the new docker
  • Automatic syncing object models across multiple VOXL2s

    Unsolved
    4
    0 Votes
    4 Posts
    966 Views
    ModeratorM
    @Denver-Bennett Hi Denver, no voxl-tflite-server is a TensorFlow Lite runtime environment for VOXL. You will need to write your own code if you want to somehow mesh models together over a network. We aren't familiar with any software that handles that today
  • Stereo camera bit rate customization?

    Unsolved
    2
    0 Votes
    2 Posts
    486 Views
    Alex KushleyevA
    @Gary-Holmgren , Can you please confirm that in your 30cm extension use case you are using: (starting from VOXL side..) M0076 interposer 2x M0036 15cm flexes (connected back to back) M0010 stereo splitter 2x M0015 OV7251 cameras Also, are the cameras being detected when using voxl-camera-server -l but the stream does not work? or neither detection nor streaming work? We will try to reproduce your test case first and lets go from there.. Alex
  • Run code on boot from docker in voxl2

    Unsolved
    2
    0 Votes
    2 Posts
    596 Views
    tomT
    @Darshit-Desai Sure, the easiest way would be to create a custom systemd service file
  • 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
    961 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
    402 Views
    No one has replied
  • Creating a Clode backup Image on VOXL 1 computer.

    Unsolved
    2
    0 Votes
    2 Posts
    479 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
    739 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
    4k 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
    665 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
    844 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
    909 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
    1k 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
    1k 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
    612 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?