• RE: Calibration for EIS

    @SKA , just to clarify, if you disable EIS, then undistortion is disabled, you will see fisheye image. If EIS is enabled, the output will be undistorted (zoomed in a bit). Part of EIS figures out the minimum zoom level such that the undistorted image is maximized (no black pixels at the edges).

    if you set misp_zoom to 1.0 and eis is disabled, you will see the image that is not zoomed in. If your misp width and height aspect ratio differs from the raw preview aspect ratio, then misp will crop the top+bottom (usually), to get the correct aspect ratio. For example, if your raw preview size is 4040x3040 and your misp output is 1920x1080, then misp will first crop the top and bottom of the raw image to get the 16:9 aspect ratio and then resize the image to 1920x1080 (well actually all the steps are happening at the same time, not sequentially).

    I have to ask, how do you know that your image is zoomed in and not original? btw since you have the small video stream enabled, you can look at that image (hires_small_color) to see if the zoom level is the same - this is coming from the ISP and it should also crop + resize to your resolution for small video stream you have selected (you can make the small video resolution the same as misp output resolution and compare images, they should look identical zoom-wise)

    Alex

    posted in Video and Image Sensors
  • RE: New Official Stereo Module?

    @john_t , I think DFS is tricky on drones because it requires a very good calibration (intrinsics, extrinsics) and the extrinsics cannot change, which is hard to guarantee on the drone. Alternatively, a robust system would be needed that will continuously recalibrate extrinsics over time. This may be the reason why stereo is not easily to use with consistent success on drones.

    ToF works well indoors with range up to 4-6 meters, but outdoors the sunlight will severely degrade the performance. Some technical details are available here : https://docs.modalai.com/M0178/

    Alex

    posted in Image Sensors
  • RE: Calibration for EIS

    @SKA , you are probably looking at the wrong stream, since you have small video enabled, which does not use misp. Use hires_misp_ streams

    posted in Video and Image Sensors
  • RE: Calibration for EIS

    @SKA ,

    Does the zoom level change if you change misp_zoom param from 1.0 to a higher number? You can also adjust zoom via voxl-portal when you view the stream and enable the check box for camera controls (bottom left). Did you try changing zoom that way?

    Alex

    posted in Video and Image Sensors
  • RE: Calibration for EIS

    @SKA , the minimum zoom should be 1.0, not 0.0. Can you try to see if that works?

    Alex

    posted in Video and Image Sensors
  • RE: Voxl-Cross Issue

    @bendraper I just tried it and it is working now:

    modalai@modalai:~/development/modalai/voxl-vision-hub (dev)$ voxl-docker -i voxl-cross
    launching image: voxl-cross with the following command:
    docker run --rm -it --net=host --privileged -w /home/modalai --volume=/dev/bus/usb:/dev/bus/usb -e LOCAL_USER_ID=0 -e LOCAL_USER_NAME=root -e LOCAL_GID=0 -v /home/modalai/development/modalai/voxl-vision-hub:/home/root:rw -w /home/root voxl-cross /bin/bash -l
    
    voxl-cross(4.4):~(dev)(1.9.21)$ ./clean.sh 
    voxl-cross(4.4):~(dev)(1.9.21)$ ./install_build_deps.sh qrb5165 dev
    using qrb5165 dev debian repo
    Ign:1 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ InRelease
    Ign:2 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Release
    Get:3 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ Packages [76.8 kB]
    Fetched 76.8 kB in 1s (122 kB/s)
    Reading package lists... Done
    
    INSTALLING: 
    libmodal-json
    libmodal-pipe
    librc-math
    libmodal-cv
    voxl-mpa-tools
    voxl-mavlink
    
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    The following NEW packages will be installed:
      libmodal-cv:arm64 libmodal-json:arm64 libmodal-pipe:arm64 librc-math:arm64 voxl-mavlink:arm64
      voxl-mpa-tools:arm64
    0 upgraded, 6 newly installed, 0 to remove and 2 not upgraded.
    Need to get 5026 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Get:1 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ librc-math 1.4.6-202510091209 [180 kB]
    Get:2 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ libmodal-cv 0.6.0-202510141028 [3887 kB]
    Get:3 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ libmodal-json 0.4.8-202510091202 [52.5 kB]
    Get:4 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ libmodal-pipe 2.14.10-202601210836 [151 kB]
    Get:5 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ voxl-mavlink 0.1.6-202511141246 [650 kB]
    Get:6 http://voxl-packages.modalai.com ./dists/qrb5165/dev/binary-arm64/ voxl-mpa-tools 1.5.6-202601201423 [106 kB]
    Fetched 5026 kB in 1s (6805 kB/s)         
    debconf: unable to initialize frontend: Dialog
    debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 79, <STDIN> line 6.)
    debconf: falling back to frontend: Readline
    Selecting previously unselected package librc-math:arm64.
    (Reading database ... 35164 files and directories currently installed.)
    Preparing to unpack .../0-librc-math_1.4.6-202510091209_arm64.deb ...
    Unpacking librc-math:arm64 (1.4.6-202510091209) ...
    Selecting previously unselected package libmodal-cv:arm64.
    Preparing to unpack .../1-libmodal-cv_0.6.0-202510141028_arm64.deb ...
    Unpacking libmodal-cv:arm64 (0.6.0-202510141028) ...
    Selecting previously unselected package libmodal-json:arm64.
    Preparing to unpack .../2-libmodal-json_0.4.8-202510091202_arm64.deb ...
    Unpacking libmodal-json:arm64 (0.4.8-202510091202) ...
    Selecting previously unselected package libmodal-pipe:arm64.
    Preparing to unpack .../3-libmodal-pipe_2.14.10-202601210836_arm64.deb ...
    Unpacking libmodal-pipe:arm64 (2.14.10-202601210836) ...
    Selecting previously unselected package voxl-mavlink:arm64.
    Preparing to unpack .../4-voxl-mavlink_0.1.6-202511141246_arm64.deb ...
    Unpacking voxl-mavlink:arm64 (0.1.6-202511141246) ...
    Selecting previously unselected package voxl-mpa-tools:arm64.
    Preparing to unpack .../5-voxl-mpa-tools_1.5.6-202601201423_arm64.deb ...
    Unpacking voxl-mpa-tools:arm64 (1.5.6-202601201423) ...
    Setting up voxl-mavlink:arm64 (0.1.6-202511141246) ...
    Setting up libmodal-json:arm64 (0.4.8-202510091202) ...
    Setting up librc-math:arm64 (1.4.6-202510091209) ...
    Setting up libmodal-pipe:arm64 (2.14.10-202601210836) ...
    Setting up libmodal-cv:arm64 (0.6.0-202510141028) ...
    Setting up voxl-mpa-tools:arm64 (1.5.6-202601201423) ...
    Processing triggers for libc-bin (2.39-0ubuntu8.5) ...
    
    Done installing dependencies
    
    voxl-cross(4.4):~(dev)(1.9.21)$ ./build.sh qrb5165
    Found voxl-cross version: 4.4
    -- ---------------------------------------------------------
    -- Using voxl-cross 64-bit toolchain for QRB5165 ubun1 18.04
    -- C Compiler  : /usr/bin/aarch64-linux-gnu-gcc-7
    -- C++ Compiler: /usr/bin/aarch64-linux-gnu-g++-7
    -- Sysroot     : /opt/sysroots/qrb5165_1
    -- C flags     : -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include -isystem=/usr/local/include -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed -isystem=/usr/include/aarch64-linux-gnu -isystem=/usr/include -idirafter /usr/include -march=armv8.2-a
    -- CXX flags   : -isystem=/usr/include/c++/7 -isystem=/usr/include/aarch64-linux-gnu/c++/7 -isystem=/usr/include/c++/7/backward -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include -isystem=/usr/local/include -isystem=/usr/lib/gcc/aarch64-linux-gnu/7/include-fixed -isystem=/usr/include/aarch64-linux-gnu -isystem=/usr/include -idirafter /usr/include -march=armv8.2-a
    -- Link Flags  :  -B/opt/sysroots/qrb5165_1/usr/lib/ -L/opt/sysroots/qrb5165_1/usr/lib/gcc/aarch64-linux-gnu/7 -L/opt/sysroots/qrb5165_1/usr/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/usr/lib -L/opt/sysroots/qrb5165_1/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/usr/lib/aarch64-linux-gnu -L/opt/sysroots/qrb5165_1/lib -L/usr/lib64 -L/usr/lib
    -- The C compiler identification is GNU 7.3.0
    -- The CXX compiler identification is GNU 7.3.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /usr/bin/aarch64-linux-gnu-gcc-7 - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/aarch64-linux-gnu-g++-7 - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Configuring done (0.3s)
    -- Generating done (0.0s)
    -- Build files have been written to: /home/root/build
    [  6%] Building C object utils/CMakeFiles/voxl-inspect-vfc.dir/voxl-inspect-vfc.c.o
    [  6%] Building C object utils/CMakeFiles/voxl-calibrate-px4-horizon.dir/voxl-calibrate-px4-horizon.c.o
    [ 12%] Building C object src/CMakeFiles/voxl-vision-hub.dir/control_input.c.o
    [ 12%] Building C object src/CMakeFiles/voxl-vision-hub.dir/fixed_pose_input.c.o
    [ 18%] Building C object src/CMakeFiles/voxl-vision-hub.dir/geometry.c.o
    [ 18%] Building C object src/CMakeFiles/voxl-vision-hub.dir/autopilot_monitor.c.o
    [ 24%] Building C object src/CMakeFiles/voxl-vision-hub.dir/config_file.c.o
    [ 24%] Building C object src/CMakeFiles/voxl-vision-hub.dir/horizon_cal.c.o
    [ 30%] Building C object src/CMakeFiles/voxl-vision-hub.dir/main.c.o
    [ 36%] Building C object src/CMakeFiles/voxl-vision-hub.dir/mavlink_io.c.o
    [ 36%] Building C object src/CMakeFiles/voxl-vision-hub.dir/imu_manager.c.o
    [ 27%] Building C object src/CMakeFiles/voxl-vision-hub.dir/horizon_cal_file.c.o
    [ 39%] Building C object src/CMakeFiles/voxl-vision-hub.dir/mavlink_for_ros.c.o
    [ 42%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_backtrack.c.o
    [ 45%] Building C object src/CMakeFiles/voxl-vision-hub.dir/obs_pc_filter.c.o
    [ 48%] Building C object src/CMakeFiles/voxl-vision-hub.dir/misc.c.o
    [ 51%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_figure_eight.c.o
    [ 54%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_follow_tag.c.o
    [ 57%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_mode.c.o
    [ 60%] Linking C executable voxl-calibrate-px4-horizon
    [ 60%] Built target voxl-calibrate-px4-horizon
    [ 63%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_trajectory.c.o
    [ 66%] Linking C executable voxl-inspect-vfc
    [ 66%] Built target voxl-inspect-vfc
    [ 69%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_vfc.c.o
    [ 72%] Building C object src/CMakeFiles/voxl-vision-hub.dir/offboard_wps.c.o
    [ 75%] Building C object src/CMakeFiles/voxl-vision-hub.dir/pose_filter.c.o
    [ 78%] Building C object src/CMakeFiles/voxl-vision-hub.dir/state_manager.c.o
    [ 81%] Building C object src/CMakeFiles/voxl-vision-hub.dir/tag_manager.c.o
    [ 84%] Building CXX object src/CMakeFiles/voxl-vision-hub.dir/trajectory_monitor.cpp.o
    [ 87%] Building C object src/CMakeFiles/voxl-vision-hub.dir/transform_ringbuf.c.o
    [ 90%] Building C object src/CMakeFiles/voxl-vision-hub.dir/vio_manager.c.o
    [ 93%] Building C object src/CMakeFiles/voxl-vision-hub.dir/voa_manager.c.o
    [ 96%] Building C object src/CMakeFiles/voxl-vision-hub.dir/voxl_vfc_config.c.o
    [100%] Linking CXX executable voxl-vision-hub
    [100%] Built target voxl-vision-hub
    
    posted in Ask your questions right here!
  • RE: VOXL 2 Returns to fastboot after power cycle.

    Hello @HLaGrone ,

    Sorry for the delay in response!

    Did something happen to the board that caused it to stop booting?

    Are you able to remove the voxl2 board completely from the drone and just try to boot it by itself (nothing plugged in except APM / ESC for power and USB)? Sometimes issues on power rails going to external components (like cameras) can prevent the board from booting.

    Alex

    posted in Ask your questions right here!
  • RE: Ethernet Expansion & USB Hub: I2C Internal Pull-Up Resistors

    Hi @shawn_ricardo
    Yes, any I2C port on an expansion board has 2.2K pullups to the voltage on Pin 1 of that connector.

    The Linux Kernel user guide has info on which QUPS are enabled or not in which system image.
    3356687b-6e2d-4443-9a15-6e9aa07566d1-image.png
    and specifically this helps:
    https://docs.modalai.com/voxl2-qups/
    Note not all QUPs have actually been enabled in the system, but with the sets of ports we have enabled, we never had any customer claim of a shortage:

    posted in Ask your questions right here!
  • RE: about the power module v3

    Hi @Tormod-Axelsson-Hagen
    Our descriptions tell you all you might need to know to make your own power module:

    The rest is up to you based on your design intent and supply chain constraints and preferred vendors.
    Hope this helped!

    posted in Support Request Format for Best Results
  • RE: hires camera not detected

    Hi @Piyush-Singh,

    Sorry for the delay. I believe your issue is the same as in this post : https://forum.modalai.com/topic/4975/hardware-configuration-for-2-m0014-tracking-1-m0169-pmd-tof-1-m0024-hires/ . Specifically, the kernel variant that is installed is 2.0.2 which is designed for newer camera adapters like M0188, M0195.

    Please change your kernel to the 2.0.0 variant as described in the thread above (you can test it first before overwriting).

    It looks like you do have the right sensormodules in place.

    Alex

    posted in Ask your questions right here!