Ultimate Gain method

Dependents:   2016_slave_MD_rorikon 2016_slave_MD_rorikon WRS_mechanamu_test

Revision:
3:b4a401daed8a
Parent:
1:6939c241c6dc
Child:
4:3ca1603fbcda
--- a/PID.cpp	Wed Aug 17 05:33:56 2016 +0000
+++ b/PID.cpp	Thu Aug 18 02:41:53 2016 +0000
@@ -42,5 +42,5 @@
 {
     integral    = 0;
     prev_hensa  = 0;
-    prev_time   = 0;
+    prev_time = timer.read();
 }
\ No newline at end of file