Moet dit er bij

Dependencies:   mbed QEI HIDScope biquadFilter MODSERIAL FastPWM

Files at this revision

API Documentation at this revision

Comitter:
BasB
Date:
Wed Oct 30 18:47:33 2019 +0000
Parent:
15:75070aedf4b7
Commit message:
Dit is de motor state machine

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Oct 30 13:32:33 2019 +0000
+++ b/main.cpp	Wed Oct 30 18:47:33 2019 +0000
@@ -334,8 +334,8 @@
     }    
     
     static float t=0;
-    Vx=10.0f*sin(1.0f*t);
-    Vy=0.0f;
+    Vy=10.0f*sin(1.0f*t);
+    Vx=0.0f;
     t+=Ts;
     
     PID_controller();