File Exchange

image thumbnail

Android sensor data acquisition – azimuth, pitch and roll

Capture the orientation of a mobile device from a computer running MATLAB.



View License

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:

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:

Comments and Ratings (2)

che dongdong

great!! but how stupid I am, still not know how to
run the program



Updated File.

MATLAB Release
MATLAB 8.1 (R2013a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video