ManualControl

Dependencies:   TPixy-Interface

Fork of MbedOS_Robot by ECE4333 - 2018 - Ahmed & Brandon

Revision:
6:e7ce340fe91e
Parent:
4:417e475239c7
Child:
7:73fd05fe556a
--- a/PiControlThread.cpp	Fri Feb 09 18:37:11 2018 +0000
+++ b/PiControlThread.cpp	Sat Feb 10 19:35:21 2018 +0000
@@ -39,7 +39,8 @@
 {
     DE0_init();                  // initialize FPGA
     motorDriver_init();          // initialize motorDriver
-    PiController_init(2.2,0.01); // initialize the PI Controller gains and initialize variables
+    //                Kp,Ki
+    PiController_init(1,0.4); // initialize the PI Controller gains and initialize variables
     
     PiControlId = osThreadCreate(osThread(PiControlThread), NULL);