Android sensor data acquisition – azimuth, pitch and roll
This example shows how to capture the orientation of an Android mobile device such as a mobile phone or tablet. The orientation is defined as a combination of three angular quantities: Azimuth, pitch, and roll. The example shows how to access current values of orientation and also demonstrates how to plot logged orientation values.
This example requires the user to first install the MATLAB Support Package for Android Sensors which is available here:
http://www.mathworks.com/matlabcentral/fileexchange/40876
To use this example, you will also be required to download the mobile app: SensorUdp app by Takashi, Sasaki from Google Play.
For more information on acquiring sensor data from your Android device, see the following resource page:
Citar como
MathWorks Mobile Sensor Connectivity Team (2024). Android sensor data acquisition – azimuth, pitch and roll (https://www.mathworks.com/matlabcentral/fileexchange/42803-android-sensor-data-acquisition-azimuth-pitch-and-roll), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.