Switched to the rotation vector sensor, removing all other sensors. Also removed filter to smooth sensor data, not needed anymore. This fixes azimuth swaying issue.
Fixed crash when no connection to server.
Optimizations
Major Changes- 1)Rotation matrix now directly sent to openGL, no calculations needed. 2) Only using one sensor for rotation vector, all other sensors removed. 3)Now rendering axes for testing purposes 4)Optimized render code, making all rendering much smoother. Visible difference. 5)Removed redundant SensorFusion code. 6)Removed redundant pulsating arrows code. 5)Removed redundant moving average compass 7)Major code cleanup and optimizations all over.
Resolved bug of orientation not being sent to server.
Merge pull request #3 from Alok-Sharma/devel-openGL

OpenGL improvements.