Why are my MATLAB Mobile orientation measurements unstable when my mobile device points vertically up?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 11 Nov 2021
Risposto: MathWorks Support Team
il 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.
Risposta accettata
MathWorks Support Team
il 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Mobile in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!