My UH returns 255 from gyro sensor of X-axis with just putting on flat space.

Recent Topics Forums Installation & Troubleshooting My UH returns 255 from gyro sensor of X-axis with just putting on flat space.

Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #391
    EQ_Tatsuguchi
    Participant

      Hi H2L dev team.

      I have a question.
      In recently, I noticed that gyro sensor of X-axis returns 255 to my application and your demo application named “Simple Sample Project ?Graph?“ with just putting on flat space.
      I think it returns 0, because my UH is not rotated.

      I use following environment.
      * arduino plugin with my UH: v.0044
      * demo application’s version: “SuperSimpleSample003”

      If you have already know similar issue, please tell me about it.
      If you don’t know it, I want to ask you to repair it. Please tell me how to communicate to support team if you have a support team.

      BR,
      EQ_Tatsuguchi.

      • This topic was modified 1 year, 3 months ago by H2L.
      #393
      H2L
      Keymaster

        @EQ_Tatsuguchi,

        Thanks for the inquiry.
        We made changes to the way the angles are obtained in previous versions of the UH unity plugin. Arduino library v.0044 should work fine. Would you let me know which version of the UH unity plugin you are using?

        Best,
        UnlimitedHand team

        #395
        EQ_Tatsuguchi
        Participant

          Hi UnlimitedHand team
          Thanks for your reply.

          >Would you let me know which version of the UH unity plugin you are using?
          I use version 0033 of UH Unity plugin, and I try to check whether this issue occurs or not with version 0041β of UH Unity plugin.
          The result is that this issue occurs on version 0041β of UH Unity plugin.

          And as a precautionary statement, “gyro sensor of X-axis” is the value of “UHGyro [0]” in UH Unity plugin.

          BR,
          EQ_Tatsuguchi.

          #400
          EQ_Tatsuguchi
          Participant

            I add information for this issue.
            I use new UHDemo_Graph at http://dev.unlimitedhand.com/unitycontents.html and check whether this issue occurs on it with following Unity and Arduino plugins.
            ————————————
            Use Unity plugins:
            U1) UH.cs: ver 0040(preset in UHDemo_GrapQuaternion40
            U2) UH.cs: ver 0041β(latest version)

            Use Arduino plugins:
            A1) “Serial_Unity_Quaternion” in UH4Arduino0041.zip
            A2) “Serial_Unity_Quaternion” in UH4Arduino0044.zip
            ————————————
            But this issue occurs on several environments(U1+A1, U1+A2, U2+A1 and U2+A2).

            Please check.
            Best regards,
            EQ_Tatsuguchi.

            #403
            EQ_Tatsuguchi
            Participant

              Hi H2L

              I try to check this issue by serial monitor on Arduino by advised in “http://forum.unlimitedhand.com/forums/topic/my-uh-receives-just-0-or-1-from-photo-reflector-no-3/”.
              The procedures are following.
              1) Compile “Serial_Unity_Quaternion” version UH4Arduino0041
              2) Open up the serial monitor
              3) input the character ‘a’ for display the raw values of the acceleration and Gyro sensors

              The result is following.
              503+640+-16893+32.365+255+0+-253

              When I check it, my device is put on desk with Photo-Reflectors facing to lightings in my office.
              So I don’t rotate and touch my device in checking, but Gyro[0] is 255(Gyro[2] is also not near zero).

              What do you think?
              Best regards,
              EQ_Tatsuguchi

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.