Skip to content

ManuelSchmitzberger/MobileTrackingIn3dSpaceMatlab

 
 

Repository files navigation

mobile tracking in 3d-space

#####read live sensor data via FILE and ADB set ADB logcat buffer (10MB):

adb logcat -G 10M

clear ADB buffer:

adb logcat -c

create fifo for file:

mkfifo pipe && exec 7<>pipe

ADB logcat forward to pipe:

adb logcat -s AV-SDK | grep --line-buffered MotionCapturing | sed -u s/\.\*MotionCapturing://g > pipe

#####read live sensor data via FILE and TCP/IP

  • use same comands above
nc -k -l 4000 > pipe 

#####data construction, which are calculated in the mobile device

String data = accelerometerValues + "," + magneticValues + "," + gyroscopeValues + ",:," + azimuth + "," + pitch + "," + roll;

========================

About

Mobile Tracking 3d Space, Accelerometer, Gyrometer, Magnetometer - Matlab

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 94.6%
  • Python 4.7%
  • M 0.7%