Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: Servoaansturing mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
Diff: main.cpp
- 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();