working version but stripped of most unnecessary code like print statements

Dependencies:   HIDScope MODSERIAL biquadFilter mbed FastPWM QEI

Files at this revision

API Documentation at this revision

Comitter:
RiP
Date:
Thu Oct 27 14:26:50 2016 +0000
Parent:
41:a89907bb3f70
Child:
43:6d6c643d3e6d
Commit message:
emg + filter + PIDF + motor; werkend, maar zonder servo gedeelte

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Oct 27 14:22:47 2016 +0000
+++ b/main.cpp	Thu Oct 27 14:26:50 2016 +0000
@@ -217,8 +217,6 @@
     //converting radius and theta to gearbox angle
     double ref_angle1=16*theta;
     double ref_angle2=(-radius+minRadius)/pi/pulleyDiameter;
-    //pc.printf("%.5f",ref_angle2);
-    //ref_angle2=0.0;
 
     double angle1 = Encoder1.getPulses()/res;   //get number of pulses (counterclockwise is positive)
     double angle2 = Encoder2.getPulses()/res;   //get number of pulses