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

    voxl-configure-mpa failled on voxl-esc step

    Ask your questions right here!
    5
    12
    739
    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.
    • C
      Cai Bill
      last edited by 1 Nov 2023, 22:12

      I was trying to get the drone flying again, so I tried the voxl-configure-mpa to reset all service. But It failed on voxl-esc setup_sentinel_v. Should I be worried? How should I fix this problem.

      Log shown bellow:

      executing: voxl-esc setup_sentinel_v1 
      enabling bridge
      detected voxl-px4 is enabled
      Removed /etc/systemd/system/multi-user.target.wants/voxl-px4.service.
      detected voxl-px4 is running, stopping it now
      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
      re-enabling voxl-px4
      Created symlink /etc/systemd/system/multi-user.target.wants/voxl-px4.service → /etc/systemd/system/voxl-px4.service.
      restarting voxl-px4
      bridge disabled
      EXITING VOXL-ESC WITH ERROR
      FAILED TO EXECUTE: voxl-esc setup_sentinel_v1
      
      executing: voxl-configure-px4 sentinel_v1 
      wiping old config file
      enabling  voxl-px4 systemd service
      Done configuring voxl-px4
      Success!
      
      executing: voxl-configure-px4-params -np MRB-D0006 
      [INFO] Voxl-px4 service found and active.
      [INFO] Loading the following param files: platforms/Sentinel_V1.params, EKF2_helpers/outdoor_gps_baro.params.
      
      [INFO] Loading file: /usr/share/modalai/px4_params/v1.14/platforms/Sentinel_V1.params
      [INFO] Scanning currently loaded parameters...
      
      [INFO] Loading file: /usr/share/modalai/px4_params/v1.14/EKF2_helpers/outdoor_gps_baro.params
      [INFO] Scanning currently loaded parameters...
      
      [INFO] Loading file: /data/px4/param/parameters_gyro.cal
      [INFO] Trimming duplicate parameters...
      [INFO] Scanning currently loaded parameters...
      
      [INFO] Loading file: /data/px4/param/parameters_acc.cal
      [INFO] Trimming duplicate parameters...
      [INFO] Scanning currently loaded parameters...
      
      [INFO] Loading file: /data/px4/param/parameters_level.cal
      [INFO] Trimming duplicate parameters...
      [INFO] Scanning currently loaded parameters...
      
      [INFO] Loading file: /data/px4/param/parameters_rc.cal
      [INFO] Scanning currently loaded parameters...
      [INFO] Done configuring for platform MRB-D0006
      Success!
      
      checking /data/modalai/voxl-imu-server.cal
      checking /data/px4/param/parameters_mag.cal
      
      ------------------------------------------------------------------
               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/modalai/voxl-imu-server.cal
      checking /data/px4/param/parameters_mag.cal
      Calibration File Status:
      Missing /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 
      Present /data/px4/param/parameters_gyro.cal 
      Present /data/px4/param/parameters_acc.cal 
      Missing /data/px4/param/parameters_mag.cal 
      Present /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
      ------------------------------------------------------------------
      
      
      T 1 Reply Last reply 1 Nov 2023, 22:14 Reply Quote 0
      • T
        tom admin @Cai Bill
        last edited by 1 Nov 2023, 22:14

        @Cai-Bill If you run voxl-esc setup_sentinel_v1 manually does it still fail?

        C 1 Reply Last reply 1 Nov 2023, 22:17 Reply Quote 0
        • C
          Cai Bill @tom
          last edited by 1 Nov 2023, 22:17

          @tom Yes, It still fail:

          Here is the log:

          $voxl-esc setup_sentinel_v1
          enabling bridge
          detected voxl-px4 is enabled
          Removed /etc/systemd/system/multi-user.target.wants/voxl-px4.service.
          detected voxl-px4 is running, stopping it now
          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
          re-enabling voxl-px4
          Created symlink /etc/systemd/system/multi-user.target.wants/voxl-px4.service → /etc/systemd/system/voxl-px4.service.
          restarting voxl-px4
          bridge disabled
          EXITING VOXL-ESC WITH ERROR
          
          
          T 1 Reply Last reply 1 Nov 2023, 22:29 Reply Quote 0
          • T
            tom admin @Cai Bill
            last edited by 1 Nov 2023, 22:29

            @Cai-Bill I would inspect the ESC wiring, both power and data to voxl2. When power is given to the drone do the LEDs on the ESC light up? Does it make any noise?

            C 2 Replies Last reply 1 Nov 2023, 22:38 Reply Quote 0
            • C
              Cai Bill @tom
              last edited by 1 Nov 2023, 22:38

              @tom
              When I power on the drone, the ESC does light up blue and flash for a bit, then it turned off. The drone makes boot on noise. I check the wiring, all joint are connected to the broad.

              1 Reply Last reply Reply Quote 0
              • C
                Cai Bill
                last edited by 1 Nov 2023, 22:58

                voxl2:~$ px4-qshell modalai_esc
                INFO  [qshell] Send cmd: 'modalai_esc'
                ERROR [uORB] Error Sending [qshell_req] topic data over comm_channel
                ERROR [qshell] command timed out
                ERROR [qshell] Command failed
                voxl2:~$ px4-listener esc_status
                never published
                
                

                I also tried px4-qshell modalai_esc and px4-listener esc_status, Both of them failed

                1 Reply Last reply Reply Quote 0
                • C
                  Cai Bill @tom
                  last edited by 3 Nov 2023, 21:52

                  @tom Hi Tom,
                  I'm still unable to figure out what happen to the ESC, I can only suspected the firmware or the wiring. Do you guys offer mailed in repair?

                  T 1 Reply Last reply 3 Nov 2023, 22:00 Reply Quote 0
                  • T
                    tom admin @Cai Bill
                    last edited by 3 Nov 2023, 22:00

                    @Cai-Bill We do: https://www.modalai.com/pages/rma

                    but I suspect it is a wiring / cable issue given the ESC is lighting up and the motors are chiming as expected

                    1 Reply Last reply Reply Quote 0
                    • Erik PriestE Erik Priest referenced this topic on 5 Nov 2023, 22:21
                    • S
                      smilon
                      last edited by 14 Dec 2023, 13:44

                      Any updates on this @Cai-Bill ? Was it a hardware-related issue? I am facing something similar.

                      Alex KushleyevA 1 Reply Last reply 15 Dec 2023, 16:05 Reply Quote 0
                      • Alex KushleyevA
                        Alex Kushleyev ModalAI Team @smilon
                        last edited by 15 Dec 2023, 16:05

                        @smilon Hello, if you are seeing the following error: Error calling voxl_uart_init , then there is some mismatch between the voxl-esc tools and libvoxl_io library or a similar issue.

                        Please update to the latest SDK 1.1.1 to get everything in sync.

                        Thank you

                        Alex

                        Eric KatzfeyE 1 Reply Last reply 16 Dec 2023, 16:33 Reply Quote 0
                        • Eric KatzfeyE
                          Eric Katzfey ModalAI Team @Alex Kushleyev
                          last edited by 16 Dec 2023, 16:33

                          @Alex-Kushleyev I agree, seems like a version mismatch. The newest SDK 1.1.2 was just released yesterday so we recommend you load that and try again.

                          1 Reply Last reply Reply Quote 1
                          • S
                            smilon
                            last edited by smilon 18 Dec 2023, 09:14 18 Dec 2023, 09:13

                            @Alex-Kushleyev @Eric-Katzfey Thank you for clearing this up. I am trying to install SDK 1.1.2 but my host machine can't discover the VOXL2 as a fastboot device (I have made an issue here). I would appreciate if you have any recommendations to hop on there as it is an urgent issue.

                            1 Reply Last reply Reply Quote 0
                            1 out of 12
                            • First post
                              1/12
                              Last post
                            Powered by NodeBB | Contributors