i like to move it, move it - what your android device really feels

10
I like to move it, move it What my Android device really feels Alexander Pacha 07.01.2016

Upload: alexander-pacha

Post on 08-Jan-2017

441 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: I like to move it, move it - What your Android device really feels

I like to move it, move itWhat my Android device really feels

Alexander Pacha07.01.2016

Page 2: I like to move it, move it - What your Android device really feels

About me

2008 – 2011: Bachelor of Science at University of Technology Vienna2011 – 2013: Master of Science in Munich and AugsburgSince 2014: Software Developer at ZühlkeSince 2015: Trainer Clean Code (.NET) at Zühlke Academy

Page 3: I like to move it, move it - What your Android device really feels

My work

2013: Goldfield Explorer

2013: Sensor fusion (Master thesis)

2013 – present: SightPlayer

Page 4: I like to move it, move it - What your Android device really feels

Hardware Sensors

Gyroscope Accelerometer Compass Camera GPSMore sensors: Light and Proximity Microphone Thermometer Barometer Hygrometer

Page 5: I like to move it, move it - What your Android device really feels

Virtual Sensors

Calibrated Gyroscope Gravity Linear Accelerometer Orientation / Rotation Vector

Image from http://www.thousand-thoughts.com/2012/03/android-sensor-fusion-tutorial/

Page 6: I like to move it, move it - What your Android device really feels

Filter

Image from http://www.thousand-thoughts.com/2012/03/android-sensor-fusion-tutorial/

Filters introduce latency

Page 7: I like to move it, move it - What your Android device really feels

Demonstration

Calibrated GyroscopeOrientation / Rotation Vector

Page 8: I like to move it, move it - What your Android device really feels

?Design thoughts

FusedResult = a * GyroOrientation + (1-a) * RotationVector

The more you move, the more you can correctFusedResult = GyroOrientation + Velocity * RotationVectorVelocityRotation = GyroX + GyroY + GyroZ

Page 9: I like to move it, move it - What your Android device really feels

Representations

Euler-Angles: yaw, pitch and roll; Suffers from gimbal lock.

Rotation Vector: general form that specifies rotation-axis (x, y, z) and angle (α)

Rotation Matrix: 3x3 matrix that is often used in computer graphics

Quaternions: Similar to rotation vector but in 4-dimensional space.Allows interpolating (SLERP)

Page 10: I like to move it, move it - What your Android device really feels

Demonstration

Final resulthttps://bitbucket.org/apacha/sensor-fusion-demo