![]() To acheive this I implemented a complementary filter to get rid of the gyro drift and the signal noise of the accelerometer and magnetometer. I used my Samsung Galaxy S2 and decided to use its gyroscope in conjunction with the accelerometer and the magnetic field sensor in order to measure the user's head rotations both, quickly and accurately. Since it had to adapt audio output to the orientation of the users head, it required to respond quickly and be accurate at the same time. In my work I was developing a head tracking component for a prototype system. While working on my master thesis, I've made some experiences with sensors in Android devices and I thought I'd share them with other Android developers stumbling over my blog. ![]() ![]() Android Sensor Fusion Tutorial download code (.zip) read this on CodeProject
0 Comments
Leave a Reply. |