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

    imu_apps seems to be publishing in bursts

    VOXL 2
    3
    5
    356
    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.
    • tanguy sagereT
      tanguy sagere
      last edited by tanguy sagere

      Hi! I'm working with a ModalAI Sentinel right now equipped with the VOXL2, and I've noticed after running a few test flights that the recorded imu_apps data is very patchy, with bursts of messages followed by entire seconds of silence. This puts alot of stress on my VIO. Am I missing something or is this a known issue, and if so how do I fix it?

      my voxl-imu-server.conf params are the default.

      Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team
        last edited by

        Hi Tanguy,

        That sounds like the CPU is being overloaded. Which version of SDK are you running (voxl-version) and can you show the output of voxl-inspect-cpu when you are seeing this issue?

        tanguy sagereT 1 Reply Last reply Reply Quote 0
        • tanguy sagereT
          tanguy sagere @Moderator
          last edited by

          @Moderator Hi! I'm using :

          system-image: 1.5.5-M0054-14.1a-perf
          kernel:       #1 SMP PREEMPT Fri Mar 24 00:48:55 UTC 2023 4.19.125
          ------------------------------------------------------------------------------
          hw version:   M0054
          ------------------------------------------------------------------------------
          voxl-suite:   0.9.5
          ------------------------------------------------------------------------------
          Packages:
          Repo:  http://voxl-packages.modalai.com/ ./dists/qrb5165/sdk-0.9/binary-arm64/
          Last Updated: 2023-08-24 23:20:47
          

          When experiencing the message dropout, this is the output of voxl-inspect-cpu :

          a9b4fe28-cae8-4f66-ac67-5047903ab286-image.png

          6a315d96-0bc8-4880-b96f-ea02ba72abaf-image.png

          1 Reply Last reply Reply Quote 0
          • tanguy sagereT
            tanguy sagere
            last edited by tanguy sagere

            I've solved the problem by setting the voxl-imu-server.conf to

            "imu0_enable":  true,
            "imu0_sample_rate_hz":  200,
            "imu0_lp_cutoff_freq_hz":      92,
            "imu0_rotate_common_frame":     true,
            "imu0_fifo_poll_rate_hz":       200,
            ...
            

            Tested on 2 different VOXL2 boards, this reduces the number of lost messages sequences from 60% to <0.5% of all messages. Information on why this is the case would be interesting, as it is stated here that the default config is optimized for VIO.

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

              @tanguy-sagere I wonder if you upgrade to SDK 1.0 if the issue resolves itself

              1 Reply Last reply Reply Quote 0
              • ModeratorM Moderator referenced this topic on
              • First post
                Last post
              Powered by NodeBB | Contributors