Zachary Sunberg / Mbed 2 deprecated SAILORSbot

Dependencies:   mbed

Revision:
23:55f8b1abbf99
Parent:
21:18b585a44155
Child:
25:c4577daa425a
--- a/robot.h	Sun Aug 02 22:22:29 2015 +0000
+++ b/robot.h	Wed Aug 05 05:21:41 2015 +0000
@@ -26,6 +26,7 @@
 int mode;
 #define MANUAL_MODE 0
 #define LINE_FOLLOW_MODE 1
+#define TURN_MODE 2
 
 volatile double leftspeed;
 volatile double rightspeed;
@@ -36,7 +37,7 @@
 
 // GAINS
 //////////////////////////////
-float k_p = 0.1;
+float k_p = 0.3;
 float k_i = 0.0;
 float k_d = 0.0;
 //////////////////////////////