ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot_Team by ECE4333 - 2018 - Ahmed & Brandon

Revision:
16:58ec2b891a25
Parent:
15:cf67f83d5409
Child:
17:1184df616383
Child:
24:e88753f090b8
diff -r cf67f83d5409 -r 58ec2b891a25 PiControlThread.cpp
--- a/PiControlThread.cpp	Sat Mar 03 04:47:26 2018 +0000
+++ b/PiControlThread.cpp	Sun Mar 11 00:37:58 2018 +0000
@@ -40,10 +40,10 @@
 void PeriodicInterruptISR(void);
 
 // steering gain
-int Ks = 0.5;
+float Ks = 0.15;
 
 // distance gain
-int Kd = 4;
+float Kd = 10;
 
 // overall robot required speed
 int Setpoint;