read acceleration and angler ratio from mpu6050 and estimate pitch and roll angle

Dependencies:   mbed

Revision:
3:40559ebef0f1
Parent:
2:4a6b46653abf
--- a/Vector.h	Mon Apr 20 14:54:55 2015 +0000
+++ b/Vector.h	Wed May 13 04:02:27 2015 +0000
@@ -16,7 +16,7 @@
 
     void SetComp(int dimNo, float val);
     float GetNorm() const;
-    Vector GetUnit() const;
+    Vector Normalize() const;
 
     inline int GetDim() const {
         return dim;