Android sensor data acquisition – location sensor (GPS) example
This example shows how to acquire location and speed data for an Android mobile device such as a mobile phone or tablet. The location data consists of latitude, longitude and altitude data. In this example, the captured latitude and longitude data is plotted in MATLAB and overlaid on a satellite image from a USGS national map using Mapping Toolbox.
The example also shows how to use MATLAB to remove bad data, plot the speed of the mobile device and calculate the physical distance between location data points. The example shows how to access current values of location and also demonstrates how to analyze logged location data.
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 – location sensor (GPS) example (https://www.mathworks.com/matlabcentral/fileexchange/42804-android-sensor-data-acquisition-location-sensor-gps-example), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Cloud Capabilities > MATLAB Mobile >
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export > Web Map Service >
- Radar > Mapping Toolbox > Data Import and Export > Web Map Service >
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.
Location/
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |