reading orientation angle from a gyroscope

I need to get orientation angle readings from the gyroscope block in the Simulink support package for android devices, I have made an app on my android device and this app contains gyroscope block, but I don't need angular velocity! I need angles in degrees, I tried to connect the gyroscope with an integrator, but the readings weren't correct! the values keep increasing even if I stopped moving!

2 个评论

Are you saying that the outputs from the gyroscope block are 0, but the integrator keeps generating an increasing angle when fed these 0 inputs?
yes, If the output is zero the integrator keeps increasing!

请先登录,再进行评论。

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Android Devices 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by