image thumbnail

android-sensors-2-matlab

version 1.0.1 (1.32 KB) by André de Souza Mendes
Read cell phone sensors in Matlab via UDP stream using Sensorstream IMU+GPS app.

536 Downloads

Updated 22 May 2021

From GitHub

View license on GitHub

android-sensors-2-matlab

Read android phone sensors in Matlab via UDP stream using Sensorstream IMU+GPS app.

Instructions

  • Download the repository files by clicking here
  • Save the file "androidSensor2Matlab.m" in the MATLAB path or add your current path to the paths list. More details: help path.
  • Download the Sensorstream IMU+GPS app in your phone
  • Connect phone and notebook to the same wifi network
  • Set phoneIP and port in androidSensor2Matlab.m
  • Set notebook IP and target port in Sensorstream IMU+GPS app
  • Choose the desired sensors in the Toggle Sensors pane.
  • Switch Stream ON
  • Run from command window: androidSensors2Matlab

Dependencies

Instrument Control Toolbox

Sensors

Supported sensors (androidSensor2Matlab.m)

  • Accelerometer

Sensors available from app.

  • Accelerometer
  • Gyroscope
  • Magnetic Field
  • GPS position
  • Orientation
  • Linear Accel.
  • Gravity
  • Rotation Vect.
  • Pressure
  • Battery Temp.

Cite As

André de Souza Mendes (2021). android-sensors-2-matlab (https://github.com/andresmendes/android-sensors-2-matlab/releases/tag/1.0.1), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2017a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.