
Cases van gefilterd EMG signaal naar gewenste positie endpoint.
Diff: main.cpp
- Revision:
- 0:aa7dd550f0de
- Child:
- 1:4940076b6e47
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Oct 31 15:37:17 2017 +0000 @@ -0,0 +1,24 @@ +#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) { + goalz++; + } + if (RTF>0.5) { + goalz--; + } + if (LBF>0.5) { + goaly++; + } + if (LTF>0.5) { + goaly--; + } + +int main() +{ + +} \ No newline at end of file