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: HIDScope QEI biquadFilter mbed
Fork of EMG_Controller_5 by
Diff: emg.h
- Revision:
- 13:e6073f2e3af1
- Parent:
- 12:da003af4d373
diff -r da003af4d373 -r e6073f2e3af1 emg.h --- a/emg.h Thu Oct 27 15:15:06 2016 +0000 +++ b/emg.h Thu Oct 27 15:16:37 2016 +0000 @@ -137,8 +137,7 @@ } //calculating input_forces for controller - //Norm_EMG_0 = (emg_low_passed[0] - min_emg[0])/(max_emg[0]-min_emg[0]); - Norm_EMG_0 = emg_low_passed[0]; + Norm_EMG_0 = (emg_low_passed[0] - min_emg[0])/(max_emg[0]-min_emg[0]); Norm_EMG_1 = (emg_low_passed[1] - min_emg[1])/(max_emg[1]-min_emg[1]); Norm_EMG_2 = (emg_low_passed[2] - min_emg[2])/(max_emg[2]-min_emg[2]);