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

    Voxl2 Mini Failed to Configure px4

    VOXL 2 Mini
    2
    14
    615
    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.
    • N
      Nicholas Hansen
      last edited by 11 Apr 2024, 22:20

      While updating the SDK of a Voxl2 Mini form 1.0.0 to 1.1.2, px4 failed to configure the parameters. I tried power cycling and running voxl-configure-mpa again with the same result. It says the error is likely because voxl-px4 on the SDSP failed to restart, but px4 is always enabled and running when I check voxl-inspect-services. Is there a way to make sure px4 restarts correctly so the parameters can be configured?

      Screenshot from 2024-04-11 18-08-19.png

      T 1 Reply Last reply 11 Apr 2024, 22:48 Reply Quote 0
      • T
        tom admin @Nicholas Hansen
        last edited by tom 11 Apr 2024, 22:48 11 Apr 2024, 22:48

        @Nicholas-Hansen Can you try flashing SDK 1.1.2 using the -w option which will wipe all the board's partitions like so:

        cd voxl2-mini_SDK_1.1.2
        ./install.sh -w
        
        N 1 Reply Last reply 12 Apr 2024, 18:28 Reply Quote 0
        • N
          Nicholas Hansen @tom
          last edited by 12 Apr 2024, 18:28

          @tom That reflash with wiping all partitions fixed the configuring px4 issue, but has created another issue. The voxl-imu-server is enabled but not running. Attempting to start the server does not work.
          When you connect to QGroundControl the IMU is clearly working because the horizon changes as you move the voxl2 mini board.

          T 1 Reply Last reply 12 Apr 2024, 18:40 Reply Quote 0
          • T
            tom admin @Nicholas Hansen
            last edited by 12 Apr 2024, 18:40

            @Nicholas-Hansen what do you see with systemctl status voxl-imu-server?

            N 1 Reply Last reply 12 Apr 2024, 18:52 Reply Quote 0
            • N
              Nicholas Hansen @tom
              last edited by 12 Apr 2024, 18:52

              @tom here is what I got 6db85361-8214-4252-a722-93f35483dfa3-image.png

              T 1 Reply Last reply 12 Apr 2024, 19:13 Reply Quote 0
              • T
                tom admin @Nicholas Hansen
                last edited by 12 Apr 2024, 19:13

                @Nicholas-Hansen Hmm what do you see if you run voxl-imu-server manually from the command line?

                N 1 Reply Last reply 12 Apr 2024, 19:28 Reply Quote 0
                • N
                  Nicholas Hansen @tom
                  last edited by 12 Apr 2024, 19:28

                  @tom here is what I get when I run that command ff9affb7-249b-4858-a3f6-e9b52cb020f5-image.png

                  T 3 Replies Last reply 12 Apr 2024, 22:11 Reply Quote 0
                  • T
                    tom admin @Nicholas Hansen
                    last edited by 12 Apr 2024, 22:11

                    @Nicholas-Hansen d423ca41-24e9-462f-872e-fafb69a07259-image.png

                    Here is what my setup looks like with the same release.

                    Can you confirm that your config file looks the same:

                    voxl2-mini:/$ cat /etc/modalai/voxl-imu-server.conf 
                    {
                    	"imu0_enable":	true,
                    	"imu0_sample_rate_hz":	1000,
                    	"imu0_lp_cutoff_freq_hz":	92,
                    	"imu0_rotate_common_frame":	true,
                    	"imu0_fifo_poll_rate_hz":	100,
                    	"aux_imu1_enable":	false,
                    	"aux_imu1_bus":	1,
                    	"aux_imu1_sample_rate_hz":	1000,
                    	"aux_imu1_lp_cutoff_freq_hz":	92,
                    	"aux_imu1_fifo_poll_rate_hz":	100,
                    	"aux_imu2_enable":	false,
                    	"aux_imu2_spi_bus":	14,
                    	"aux_imu2_sample_rate_hz":	1000,
                    	"aux_imu2_lp_cutoff_freq_hz":	92,
                    	"aux_imu2_fifo_poll_rate_hz":	100,
                    	"aux_imu3_enable":	false,
                    	"aux_imu3_spi_bus":	5,
                    	"aux_imu3_sample_rate_hz":	1000,
                    	"aux_imu3_lp_cutoff_freq_hz":	92,
                    	"aux_imu3_fifo_poll_rate_hz":	100
                    }
                    
                    N 1 Reply Last reply 15 Apr 2024, 15:47 Reply Quote 0
                    • T
                      tom admin @Nicholas Hansen
                      last edited by 12 Apr 2024, 22:20

                      @Nicholas-Hansen Can you also provide me with the board's serial number?

                      It will be on a white sticker in the format MXXXXXXXXXX

                      N 1 Reply Last reply 15 Apr 2024, 13:51 Reply Quote 0
                      • T
                        tom admin @Nicholas Hansen
                        last edited by 12 Apr 2024, 22:22

                        @Nicholas-Hansen Lastly can you provide the output of voxl-imu-server -t

                        1 Reply Last reply Reply Quote 0
                        • N
                          Nicholas Hansen @tom
                          last edited by 15 Apr 2024, 13:51

                          @tom M22000006B0 is the serial number, and the output of voxl-imu-server -t is 963ed4e9-2164-46a9-93be-7e720fc358d9-image.png

                          1 Reply Last reply Reply Quote 0
                          • N
                            Nicholas Hansen @tom
                            last edited by 15 Apr 2024, 15:47

                            @tom the config appears to match 151bac38-95dc-4f03-9f95-1ed30345be06-image.png

                            T 1 Reply Last reply 15 Apr 2024, 16:51 Reply Quote 0
                            • T
                              tom admin @Nicholas Hansen
                              last edited by 15 Apr 2024, 16:51

                              @Nicholas-Hansen It seems as though there is a hardware issue preventing the IMU from communicating correctly.

                              Our factory test data all looks good so this failure must've occurred post shipment.

                              If you'd like, you can send this board in for an RMA: https://www.modalai.com/pages/rma

                              N 1 Reply Last reply 15 Apr 2024, 17:14 Reply Quote 1
                              • N
                                Nicholas Hansen @tom
                                last edited by 15 Apr 2024, 17:14

                                @tom Ok, thank you for you help & time in troubleshooting this issue

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