The localization library for SCRIBE

Dependents:   SCRIBE_stepper

Revision:
1:2cd9602780f4
Parent:
0:a5cac0a5e41d
Child:
2:e9d692eea8de
--- a/localization.h	Mon Apr 18 21:05:04 2016 +0000
+++ b/localization.h	Mon Apr 18 22:46:58 2016 +0000
@@ -2,7 +2,7 @@
 #include "ultrasonic.h"
 #include "BNO055.h"
 
-//#define VERTICAL
+//#define VERTICAL // define it on the vertical version to compile the corresponding code
 
 class localization
 {
@@ -12,6 +12,7 @@
         void reset(void); // reset, used at startup
         /**starts mesuring the distance**/
         void measure(void); // measure the current position and update X and Y
+        float getAngle(void); //return the angle
         int getX(void); // return X
         int getY(void); // return Y
     private: