Ian Hua / Quadcopter-mbedRTOS
Revision:
24:54a8cdf17378
Parent:
22:ef8aa9728013
Child:
25:a7cfe421cb4a
--- a/RTOS-Threads/src/Task4.cpp	Thu May 08 10:49:38 2014 +0000
+++ b/RTOS-Threads/src/Task4.cpp	Thu May 08 13:00:50 2014 +0000
@@ -49,6 +49,11 @@
             for (int i = 0; i < 4; i++) {
                 ESCpower[i] = 980;
                 ESC[i].pulsewidth_us(ESCpower[i]);
+                //pitchPIDstable.reset();
+                //rollPIDstable.reset();
+                //yawPIDrate.reset();
+                //pitchPIDrate.reset();
+                //rollPIDrate.reset();
             }
         }
     } else {