ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Voxl-Cross Issue

    Ask your questions right here!
    3
    11
    105
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Eric KatzfeyE
      Eric Katzfey ModalAI Team @bendraper
      last edited by

      @bendraper Which repo are you using for the dependencies? For example: voxl-cross(4.4):~(master)(1.9.20)$ ./install_build_deps.sh qrb5165 staging

      B 1 Reply Last reply Reply Quote 0
      • B
        bendraper @Eric Katzfey
        last edited by

        @Eric-Katzfey I did not provide an argument

        Eric KatzfeyE 1 Reply Last reply Reply Quote 0
        • Eric KatzfeyE
          Eric Katzfey ModalAI Team @bendraper
          last edited by

          @bendraper If you don't provide any arguments then the command will not work and you won't get any dependencies installed.

          B 1 Reply Last reply Reply Quote 0
          • B
            bendraper @Eric Katzfey
            last edited by

            @Eric-Katzfey sorry, I was thinking of the build script. I’m using dev in accordance with the README in vision hub

            Eric KatzfeyE 1 Reply Last reply Reply Quote 0
            • Eric KatzfeyE
              Eric Katzfey ModalAI Team @bendraper
              last edited by

              @bendraper You cannot always match dev and master. Since you want to build master I would suggest using staging for you dependencies instead. Why don't you want the dev branch?

              B 1 Reply Last reply Reply Quote 0
              • B
                bendraper @Eric Katzfey
                last edited by

                @Eric-Katzfey I tried staging and that ended up working. I was trying dev because voxl-vision-hub repo says to ce8dbcc9-c7a9-4767-80f1-bea728b7e875-image.png

                Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                • Eric KatzfeyE
                  Eric Katzfey ModalAI Team @bendraper
                  last edited by

                  @bendraper I would recommend using dev instead of master. dev is latest, master is an occasional snapshot of dev. However, dev can sometimes be broken so that's always a risk.

                  B 1 Reply Last reply Reply Quote 0
                  • B
                    bendraper @Eric Katzfey
                    last edited by bendraper

                    @Eric-Katzfey dev seems to be broken in that case as I was getting the error

                    /home/root/src/main.c:42:10: fatal error: voxl_vfc_config.h: No such file or directory
                    
                    Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                    • Eric KatzfeyE
                      Eric Katzfey ModalAI Team @bendraper
                      last edited by

                      @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
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S
                        SKA @Eric Katzfey
                        last edited by SKA

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Powered by NodeBB | Contributors