first commit

Dependencies:   mbed MMA8451Q

Revision:
28:1c2eb25d624e
Parent:
27:0fa9d61c5fc6
Child:
29:17bec543a437
--- a/steering_header.h	Mon Nov 15 21:18:37 2021 +0000
+++ b/steering_header.h	Wed Nov 17 21:37:29 2021 +0000
@@ -16,9 +16,9 @@
 float KD = 0.1;//0.05003 
 */
 
-#define KP 4.0f//1.2  // 1.5
-#define KI_STEERING 0.25f//4.1985
-#define KD 0.025f//0.05003 
+float KP =  6.2f;             //at 0.17 best is 6.0f
+float KI_STEERING = 0.3f;  // at 0.17 best is 0.25f;
+float KD =  0.4f;           //at 0.17 best is 0.3f;
 
 
 #define TIME_DERIVATIVE 1 //0.1 // was 0.08