final version

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed

Fork of Project_script_union_final by Jorine Oosting

Revision:
31:0418ce58af56
Parent:
30:f04a35f2a06d
Child:
32:56a8bd82e971
--- a/main.cpp	Thu Nov 01 18:02:30 2018 +0000
+++ b/main.cpp	Thu Nov 01 18:04:50 2018 +0000
@@ -82,10 +82,6 @@
 BiQuad emg2band3( 1.00000e+00, -1.99999e+00, 9.99994e-01, -1.93552e+00, 9.39358e-01 );
 BiQuad notch3( 9.91104e-01, -1.60364e+00, 9.91104e-01, -1.60364e+00, 9.82207e-01 );                //Notch filter
 
-//Global variables
-const float T   = 0.002f;                           //Ticker period             Deze wordt ook gebruikt in de PID, moet die niet anders???
-const float T2  = 0.002f;
-
 // Inverse Kinematica variables
 const double L1 = 0.208;                                  // Hoogte van tafel tot joint 1
 //const double L2 = 0.288;                                  // Hoogte van tafel tot joint 2
@@ -129,10 +125,6 @@
 BiQuad LowPassFilterDer2( 1.12160e-01, 1.12160e-01, 0.00000e+00, -7.75680e-01, 0.00000e+00 );
 
 
-int start_control = 0;
-double emg_cal = 1;
-
-
 //--------------Functions----------------------------------------------------------------------------------------------------------------------------//