Recent Topics › Forums › Installation & Troubleshooting › My UH returns 255 from gyro sensor of X-axis with just putting on flat space.
- This topic has 4 replies, 2 voices, and was last updated 6 years ago by EQ_Tatsuguchi.
May 9, 2017 at 6:30 am #391
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.
May 10, 2017 at 3:28 am #393H2LKeymaster
- This topic was modified 4 months, 2 weeks ago by H2L.
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?
UnlimitedHand teamMay 11, 2017 at 3:57 am #395
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 ” in UH Unity plugin.
EQ_Tatsuguchi.May 24, 2017 at 12:22 am #400
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).
EQ_Tatsuguchi.May 25, 2017 at 11:44 pm #403
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.
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 is 255(Gyro is also not near zero).
What do you think?
- You must be logged in to reply to this topic.