Final version of BioRobotics program for Stamp Robot of Group 9, Biomedical Engineering at University of Twente. Script has been cleaned from any unused stuff, comments are unified in style.
Dependencies: HIDScope MODSERIAL QEI biquadFilter mbed
Fork of prog_forwardkin_feedback_copy3 by
Revision 48:73a5f7f62aec, committed 2016-11-07
- Comitter:
- GerhardBerman
- Date:
- Mon Nov 07 12:17:35 2016 +0000
- Parent:
- 47:13b4a318a3d0
- Commit message:
- Some comments changed.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon Nov 07 12:14:16 2016 +0000 +++ b/main.cpp Mon Nov 07 12:17:35 2016 +0000 @@ -140,7 +140,8 @@ void FilteredSample(int &Tout, double &envelopeLout, double &envelopeRout) { -//This function reads EMG, filters it and generates a T-switch value which specifies the movement of the robot +//This function reads EMG, filters it to acquire an EMG envelope and generates a +//T-switch value which specifies the movement of the robot double inLout = emg0.read(); double inRout = emg1.read();