🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    UI flow IMU issues

    UIFlow
    4
    12
    17.5k
    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.
    • H
      hetzer
      last edited by

      Is there a custom block for calibration. I like to use uiflow and prefer not to go back to arduino.

      m5-docsM 1 Reply Last reply Reply Quote 0
      • m5-docsM
        m5-docs @hetzer
        last edited by

        @hetzer Sorry about that I have asked engineer. He said that we'll not add this calibrated function block.

        M5Stack documentation URL

        https://docs.m5stack.com

        1 Reply Last reply Reply Quote 0
        • H
          hetzer
          last edited by

          Is it possible to get to gyro code coming with the firmware. I can see the the dafult gyro app is working accurately but all my get x and get y block resulting random numbers

          m5-docsM 1 Reply Last reply Reply Quote 0
          • m5-docsM
            m5-docs @hetzer
            last edited by

            @hetzer Are you sure that it is random data?

            M5Stack documentation URL

            https://docs.m5stack.com

            1 Reply Last reply Reply Quote 0
            • H
              hetzer
              last edited by

              Yes, en each start, while the unit is on the same position I get different values for x and y.
              Z starts from zero and just increases in each measurement.

              I tried to write a code to subtract the initial value from zero to calibrate but next x and y values within loop again starts from random values.

              1 Reply Last reply Reply Quote 0
              • H
                hetzer
                last edited by

                Still no solution to this problem, the demo is working flawlessly but get_x, get?y and get_z provide wrong results. Can anyone help?

                L 1 Reply Last reply Reply Quote 0
                • L
                  liushasha @hetzer
                  last edited by

                  @hetzer Hi, thanks for your feedback, the block naming on IMU is misleading. get-x get-y get-z actually is Yaw, Pitch, Roll.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hetzer @liushasha
                    last edited by

                    @liushasha said in UI flow IMU issues:

                    naming on IMU is misleading. get-x get-y get-z actually is Yaw, Pitch, Roll.

                    I am aware but still the pitch and roll randomly varies around +-10 degrees and the roll value increase over time exceeding 360

                    1 Reply Last reply Reply Quote 0
                    • H
                      hetzer
                      last edited by

                      0_1559507374811_Untitled 2.png

                      Managed to get some more accurate x and ydegrees.
                      Is it possible to get yaw heading with uiflow?

                      1 Reply Last reply Reply Quote 0
                      • H
                        heybin
                        last edited by

                        if only use mpu6050,i try fix yaw offset, but Failed .....

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post