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

    Unable to install the VOXL SDK

    Ask your questions right here!
    2
    5
    227
    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.
    • S
      SMRazaRizvi
      last edited by

      I am trying to install the VOXL SDK on my Sentinel drone.

      Using the install.sh script inside the VOXL SDK download completes the flashing of the system image successfully but fails to install the voxl-suite by spitting out the following error.

      Ign:4 file:/data/voxl-suite-offline-packages ./ Translation-en
      Get:3 file:/data/voxl-suite-offline-packages ./ Packages
      Ign:3 file:/data/voxl-suite-offline-packages ./ Packages
      Get:3 file:/data/voxl-suite-offline-packages ./ Packages
      Ign:3 file:/data/voxl-suite-offline-packages ./ Packages
      Get:3 file:/data/voxl-suite-offline-packages ./ Packages
      Err:3 file:/data/voxl-suite-offline-packages ./ Packages
        File not found - /data/voxl-suite-offline-packages/./Packages (2: No such file or directory)
      Reading package lists... Done
      N: Download is performed unsandboxed as root as file '/data/voxl-suite-offline-packages/./InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
      E: Failed to fetch file:/data/voxl-suite-offline-packages/./Packages  File not found - /data/voxl-suite-offline-packages/./Packages (2: No such file or directory)
      E: Some index files failed to download. They have been ignored, or old ones used instead.
      [INFO] Installing packages on target
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      E: Unable to locate package voxl-suite
      ERROR failed to install voxl-suite
      SUCCESS:cat: /tmp/success: No such file or directory
      

      My guess is that there's something wrong with the apt sources listing inside /etc/apt/, as I see the same errors when I do sudo apt update inside the sentinel drone.

      Can anyone please let me know how to solve this?
      Or how can I retrieve the factory apt source files?

      S 1 Reply Last reply Reply Quote 0
      • S
        SMRazaRizvi @SMRazaRizvi
        last edited by

        @SMRazaRizvi

        UPDATE

        I solved this issue by adding the following line inside the offline-install.sh at line 92

        adb shell "cd $PKG_DIR/ && gunzip Packages.gz"

        but then I am facing the following error while installing the voxl-suite

        executing: voxl-esc setup_sentinel_v1 
        enabling bridge
        bridge enabled
        [INFO] Scanning for ESC...
        Received standard error event 2
        Received standard error event 2
        Couldn't configure flight_controller sensor
        Error calling voxl_uart_init
        Received standard error event 2
        Received standard error event 2
        Couldn't configure flight_controller sensor
        Error calling voxl_uart_init
        Received standard error event 2
        Received standard error event 2
        Couldn't configure flight_controller sensor
        Error calling voxl_uart_init
        Received standard error event 2
        Received standard error event 2
        Couldn't configure flight_controller sensor
        Error calling voxl_uart_init
        Received standard error event 2
        Received standard error event 2
        Couldn't configure flight_controller sensor
        Error calling voxl_uart_init
        Received standard error event 2
        Received standard error event 2
        Couldn't configure flight_controller sensor
        Error calling voxl_uart_init
        Received standard error event 2
        Received standard error event 2
        Couldn't configure flight_controller sensor
        Error calling voxl_uart_init
        Received standard error event 2
        Received standard error event 2
        Couldn't configure flight_controller sensor
        Error calling voxl_uart_init
        [ERROR] Unknown board detected: 
        disabling bridge
        bridge disabled
        EXITING VOXL-ESC WITH ERROR
        FAILED TO EXECUTE: voxl-esc setup_sentinel_v1
        

        And then eventually

                 FAILED TO EXECUTE the following steps:
        voxl-esc setup_sentinel_v1
        
              Encountered Problems Configuring MPA Services :-/
                Some Services may not start up on next reboot
        
        checking /data/px4/param/parameters_gyro.cal
        checking /data/px4/param/parameters_acc.cal
        checking /data/px4/param/parameters_mag.cal
        checking /data/px4/param/parameters_level.cal
        Calibration File Status:
        Present /data/modalai/voxl-imu-server.cal 
        Present /data/modalai/opencv_tracking_intrinsics.yml 
        Present /data/modalai/opencv_stereo_front_intrinsics.yml 
        Present /data/modalai/opencv_stereo_front_extrinsics.yml 
        Present /data/modalai/opencv_stereo_rear_intrinsics.yml 
        Present /data/modalai/opencv_stereo_rear_extrinsics.yml 
        Missing /data/px4/param/parameters_gyro.cal 
        Missing /data/px4/param/parameters_acc.cal 
        Missing /data/px4/param/parameters_mag.cal 
        Missing /data/px4/param/parameters_level.cal 
        
        Detected Missing Calibration Files
        please run the required cals
        https://docs.modalai.com/calibration/
        
                        PLEASE POWER CYCLE YOUR VOXL
        

        This does ends up with the installation of VOXL SDK, and I can even access the camera server, but there are issues with MPA and I am unable to connect to QGC.

        Help please.

        tomT 1 Reply Last reply Reply Quote 0
        • tomT
          tom admin @SMRazaRizvi
          last edited by

          @SMRazaRizvi I'm guessing your file system is corrupt in some way. I would do the following to fully wipe / re-flash your system:

          cd voxl2_SDK_1.0.0
          cd system-image
          ./flash-system-image.sh -f
          
          cd ..
          cd voxl-suite
          ./offline-install.sh
          
          S 1 Reply Last reply Reply Quote 0
          • S
            SMRazaRizvi @tom
            last edited by

            @tom Thanks. This worked in successfully installing the voxl-suite

            Still, I'm facing further issues.

            For some reason, all the services were Disabled and Not Running when I checked through voxl-inspect-services. Is this normal?

            I manually enabled and started some, as shown below, but I am unable to start the voxl-vision-hub and the voxl-qvio-server services. How can I bring them up?

            1a79acc8-e9ae-4d72-8284-989f66c1cfc4-image.png

            S 1 Reply Last reply Reply Quote 0
            • S
              SMRazaRizvi @SMRazaRizvi
              last edited by

              @SMRazaRizvi

              UPDATE

              voxl-configure-mpa solved this particular issue.

              Following these instructions.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Powered by NodeBB | Contributors