Biorobotics / Robot-Software

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed Servo

Revision:
25:734a26538711
Parent:
23:7d83af123c43
Child:
28:d952367fc0fc
diff -r 53c300d1320e -r 734a26538711 main.cpp
--- a/main.cpp	Mon Oct 29 12:38:04 2018 +0000
+++ b/main.cpp	Mon Oct 29 14:45:01 2018 +0000
@@ -155,7 +155,8 @@
     current_state = waiting; //we start in state ‘waiting’ and current_state can be accessed by all functions
     u1 = 0.0f; //initial output to motors is 0.
     u2 = 0.0f;
-    bqc.add(&bqhigh).add(&bqnotch);        // filter cascade for emg
+    bqc0.add(&bq0high).add(&bq0notch);        // filter cascade for emg
+    bqc1.add(&bq1high).add(&bq1notch);        // filter cascade for emg
     loop_ticker.attach(&loop_function, T); //Run the function loop_function 1000 times per second
     
     while (true) { }  //Do nothing here (timing purposes)