DERPS

Dependencies:   BMP280 BNO055_fusion PowerControl mbed

Fork of STRAIGHT_DRIVE_NO_SEP by Antoine Laurens

Revision:
4:d70375cfa533
Parent:
3:c58eb4be51de
Child:
5:c89308dc1827
--- a/LOCALIZE.h	Thu Mar 03 01:00:32 2016 +0000
+++ b/LOCALIZE.h	Fri Mar 04 03:02:36 2016 +0000
@@ -10,9 +10,10 @@
 
 #define FRAME_H     180
 #define FRAME_W     150
-#define RX_OFF 7
-#define RY_OFF 6
+#define R_WAIT      0.1
 #define R_ERROR     14
+#define RX_OFF      7
+#define RY_OFF      6
 
 #define ERROR_IMU   -1
 #define ERROR_RX_P  -2
@@ -36,7 +37,7 @@
     void get_xy(LOCALIZE_xya *xya);
 
 protected:
-    int _rx_p, _rx_n, _ry_p, _ry_n;
+    int _angle, _rx_p, _rx_n, _ry_p, _ry_n;
     I2C _y_i2c;
     I2C _x_imu_i2c;
     BNO055 _imu;