![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
std_dev v3
Fork of EMGStdevV2 by
Revision 4:117c0bb09513, committed 2013-11-04
- Comitter:
- DanAuhust
- Date:
- Mon Nov 04 20:10:50 2013 +0000
- Parent:
- 3:e609cd999fd2
- Commit message:
- Nu met alle gains, thresholds en spieren
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e609cd999fd2 -r 117c0bb09513 main.cpp --- a/main.cpp Mon Nov 04 20:09:22 2013 +0000 +++ b/main.cpp Mon Nov 04 20:10:50 2013 +0000 @@ -295,8 +295,8 @@ //static int sig_count = 1; emg_value_biceps=std_dev(filter(1),1); emg_value_triceps=std_dev(filter(2),2); -/*emg_value_flexoren = (100*filter(3)-44); -emg_value_extensoren = (100*filter(4)-44);*/ +emg_value_flexoren = std_dev(filter(3),3); +emg_value_extensoren = std_dev(filter(4),4); if(emg_value_biceps < 4.5) emg_value_biceps=0;