Renate de Boer / Mbed 2 deprecated script_voor_project_copy

Dependencies:   Servoaansturing mbed QEI HIDScope biquadFilter MODSERIAL FastPWM

Revision:
36:3c8b13f43b78
Parent:
34:1244984873ba
--- a/main.cpp	Fri Nov 01 13:25:43 2019 +0000
+++ b/main.cpp	Tue Nov 05 08:14:08 2019 +0000
@@ -290,7 +290,7 @@
 
     scope.set(0, EMG_biceps_right_raw);
     scope.set(1, pulses_M2);
-    scope.set(2, returned);
+    scope.set(2, pulses_M1);
     scope.send();
     returned = false;
 
@@ -475,11 +475,11 @@
 
                 if (normalized_EMG_calf < 0.3) {
                     vx = 0.0;
-                    vy = 0.05;
+                    vy = 0.02;
                 }
                 if (normalized_EMG_calf >= 0.3) {
                     vx = 0.0;
-                    vy = -0.05;
+                    vy = -0.02;
                 }
                 //pc.printf("q1=%f, q2=%f\r\n", q1, q2);
                 Inverse_Kinematics();