MATLAB Answers

reading orientation angle from a gyroscope

2 views (last 30 days)
Noor Zeid
Noor Zeid on 3 Mar 2017
Commented: Noor Zeid on 4 Mar 2017
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 Comments

James Tursa
James Tursa on 3 Mar 2017
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?
Noor Zeid
Noor Zeid on 4 Mar 2017
yes, If the output is zero the integrator keeps increasing!

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!