Why are my MATLAB Mobile orientation measurements unstable when my mobile device points vertically up?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 11 Nov 2021
Réponse apportée : MathWorks Support Team
le 18 Nov 2021
When I hold my phone in a "horizontal" configuration (screen facing me, top of phone to the left/right), orientation measurements are as expected. However, when I hold my phone in a "vertical" configuration (screen facing me, top of phone to ceiling), my Y-axis orientation measurements are steady but my X-axis and Z-axis orientation measurements are unstable and fluctuate significantly.
Are the fluctuating measurements expected for a "vertical" configuration? I have been able to reproduce this behaviour on various Android and iOS mobile devices.
Réponse acceptée
MathWorks Support Team
le 11 Nov 2021
Fluctuating orientation measurements are expected when a mobile device's pitch measurement approaches 90°. They are a result of the "Gimbal Lock" phenomenon.
The Gimbal Lock occurs at a singularity point in the orientation measurement configuration: when the pitch of the mobile device is 90°, changes in yaw are indistinguishable from changes in roll, i.e. the orientation is not fully defined. Consequently, azimuth and roll measurements become unstable as the pitch approaches the singularity at 90°.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Mobile dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!