drive down

Dependencies:   BMP280 BNO055_fusion PowerControl mbed

Fork of TEAM_G_FLOW_RIDA by Edwin Cho

Revision:
20:10a305298e27
Parent:
19:2dd81b864e14
Child:
22:a68c32db9f9d
--- a/LOCALIZE.h	Sun Apr 03 05:48:37 2016 +0000
+++ b/LOCALIZE.h	Sun Apr 03 06:08:08 2016 +0000
@@ -14,6 +14,7 @@
 #define R_ERROR     14
 #define RX_OFF      7
 #define RY_OFF      6
+#define UR_JUMP     20
 #define UR_DEADZONE 3
 
 #define ERROR_IMU   -1
@@ -38,7 +39,7 @@
     void get_xy(LOCALIZE_xya *xya);
     int _angle, _rx_p, _rx_n, _ry_p, _ry_n;//
     BNO055_EULER_TypeDef _euler;
-    void ledSw(void);
+    inline void ledSw(void);
     
 protected:
     I2C _y_i2c;