
Cases van gefilterd EMG signaal naar gewenste positie endpoint.
main.cpp
- Committer:
- Gerber
- Date:
- 2017-10-31
- Revision:
- 1:4940076b6e47
- Parent:
- 0:aa7dd550f0de
- Child:
- 2:e6923364e121
File content as of revision 1:4940076b6e47:
#include "mbed.h" double RBF, RTF, LBF, LTF; // input(links en rechts biceps en triceps gefilterd) int goalz, goaly; double changePosition () { if (RBF>0.5) { goalx++; } if (RTF>0.5) { goalx--; } if (LBF>0.5) { goaly++; } if (LTF>0.5) { goaly--; } int main() { }