広田 勇斗 / MD_PID

Dependencies:   QEI

Dependents:   Omni_2017_z BETA_A ALPHA_A GAMMA_A ... more

Files at this revision

API Documentation at this revision

Comitter:
hirotayamato
Date:
Wed Sep 13 02:10:48 2017 +0000
Parent:
8:16a31803a60d
Child:
10:2351419aff1b
Commit message:
MD_PID

Changed in this revision

MD_PID.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MD_PID.cpp	Wed Aug 30 05:23:00 2017 +0000
+++ b/MD_PID.cpp	Wed Sep 13 02:10:48 2017 +0000
@@ -55,6 +55,7 @@
     if( ( (ref >= 0) ^ (Speed() >= 0) ) && fabs(Speed()) > stop)
         duty = 0;
 
+    printf("duty:%.2f\r\n", duty);
     md->rotate(duty);
     return duty;
 }