i like to move it, move it - what your android device really feels
TRANSCRIPT
![Page 1: I like to move it, move it - What your Android device really feels](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/1.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/2.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/3.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/4.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/5.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/6.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/7.jpg)
Demonstration
Calibrated GyroscopeOrientation / Rotation Vector
![Page 8: I like to move it, move it - What your Android device really feels](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/8.jpg)
?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](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/9.jpg)
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](https://reader036.vdocuments.us/reader036/viewer/2022062522/58720e991a28ab176b8b810d/html5/thumbnails/10.jpg)
Demonstration
Final resulthttps://bitbucket.org/apacha/sensor-fusion-demo