2nd draft

Dependencies:   HIDScope MODSERIAL QEI biquadFilter mbed Servo

Fork of robot_mockup by Martijn Kern

Revisions of main.cpp

Revision Date Message Actions
64:21fbff25d80b 2015-11-03 final - final version File  Diff  Annotate
63:08357f5c497b 2015-10-30 fixed some comments File  Diff  Annotate
62:e400138d625e 2015-10-29 Latest working version - servo should work without glitching during emg calibration. Tested thursday afternoon File  Diff  Annotate
61:8226830f3272 2015-10-28 added emg control time if then File  Diff  Annotate
60:6541eec8d6ad 2015-10-28 last version; File  Diff  Annotate
59:ca85ce2b1ffc 2015-10-28 fixed debugtrigger File  Diff  Annotate
58:db11481da856 2015-10-28 added debug function File  Diff  Annotate
57:d6192801fd6d 2015-10-27 changed dls, less calculation each loop File  Diff  Annotate
56:5ff9e5c1ed44 2015-10-27 added debug printf function File  Diff  Annotate
55:726fdab812a9 2015-10-27 control rate naar 200. doet nog niet echt goed File  Diff  Annotate
54:4cda9af56bed 2015-10-27 fixed servo File  Diff  Annotate
53:bf0d97487e84 2015-10-27 added servo code. File  Diff  Annotate
52:8a8c53dc8547 2015-10-27 met deze gains werkt het redelijk bij ouder filter File  Diff  Annotate
51:e4a0ce7ff4b8 2015-10-27 set der filter to 60 hz File  Diff  Annotate
50:54f71544964c 2015-10-27 fixed EMG buffer File  Diff  Annotate
49:6515c045cfd6 2015-10-23 minor edits to comments File  Diff  Annotate
48:a1f97eb8c020 2015-10-23 added and fixed comments File  Diff  Annotate
47:c52f9b4c90c4 2015-10-23 rewrote calibrate_arm, added ticker. need to test File  Diff  Annotate
46:c8c5c455dd51 2015-10-23 emg control werkt; File  Diff  Annotate
45:198654304238 2015-10-23 threshold moving average done File  Diff  Annotate
44:145827f5b091 2015-10-23 started with threshold detection File  Diff  Annotate
42:b9d26b1218b0 2015-10-23 added error limits File  Diff  Annotate
41:55face19e06b 2015-10-23 added mechanical limits File  Diff  Annotate
40:d62f96ed44c0 2015-10-23 some tests File  Diff  Annotate
39:e77f844d10d9 2015-10-23 added EMG reference calculation - needs lots of testing File  Diff  Annotate
38:c8ac615d0c8f 2015-10-23 normalizing emg works File  Diff  Annotate
37:4d7b7ced20ef 2015-10-22 trying both control methods in same loop File  Diff  Annotate
36:4d4fc200171b 2015-10-22 DLS and Trig control loops work. File  Diff  Annotate
35:7d9fca0b1545 2015-10-22 added minimum emg measurement to calibration File  Diff  Annotate
34:d6ec7c634763 2015-10-22 finished dls - changing gains! File  Diff  Annotate
33:daa6ec305441 2015-10-22 dls1 dls2 File  Diff  Annotate
32:76c4d7bb2022 2015-10-22 started on DLS control code File  Diff  Annotate
31:7b8b8459bddc 2015-10-21 minor comment changes File  Diff  Annotate
30:a9fdd3202ca2 2015-10-21 added emg reference in comments File  Diff  Annotate
29:948b0b14f6be 2015-10-21 removed some comment errors File  Diff  Annotate
28:743485bb51e4 2015-10-19 finished menu system - should work.; todo: PID control File  Diff  Annotate
27:d1814e271a95 2015-10-19 added calibrate_arm & control testcode File  Diff  Annotate
26:fe3a5469dd6b 2015-10-18 - added more comments for clarity; - changed calibrate_arm; - updated mainMenu and other visual stuff File  Diff  Annotate
25:49ccdc98639a 2015-10-16 calibrate emg toegevoegd File  Diff  Annotate
24:56db31267f10 2015-10-14 calibrate verbeterd File  Diff  Annotate
23:e9b1b426cde6 2015-10-13 fixed calibrate_arm; File  Diff  Annotate
22:1ba637601dc3 2015-10-13 calibrate_arm File  Diff  Annotate
21:d6a46315d5f5 2015-10-13 made: sample_filter and calibrate_emg; started with menu functions; File  Diff  Annotate
20:0ede3818e08e 2015-10-12 reusable pid File  Diff  Annotate
19:0a3ee31dcdb4 2015-10-12 calibrate split to arm and emg File  Diff  Annotate
18:44905b008f44 2015-10-12 first draft File  Diff  Annotate
16:9f7797ffd0fb 2015-09-21 Simplification File  Diff  Annotate
15:0da764eea774 2015-09-21 BSA EMG Practical Code File  Diff  Annotate
14:f83354387756 2015-09-21 EMG Sampler File  Diff  Annotate
13:18d4cef1fdb4 2014-09-23 Changed comment to correct values... File  Diff  Annotate
12:768048d7f742 2014-09-11 Added comment that 12-bit value is converted to be 16-bit full scale (raw value multiplied by 16 / shifted 4 bits) File  Diff  Annotate
11:ce72ec658a95 2014-09-11 Added HID Scope stuff File  Diff  Annotate
10:09b8424a7b39 2014-09-10 used red.write() instead of red= File  Diff  Annotate
9:d33e7b175ad7 2014-09-10 Updated comment File  Diff  Annotate
8:8a17f65622b4 2014-09-10 Updated to read u16, reduced sample rate File  Diff  Annotate
7:3396c3e33928 2014-09-10 Updated MODSERIAL File  Diff  Annotate
6:80c13d99aa55 2013-10-03 Added some measures to prevent overflow; Data rate is still too high, though File  Diff  Annotate
5:4dacb7b72109 2013-10-02 Added comments File  Diff  Annotate
4:8b298dfada81 2013-10-02 Added comments File  Diff  Annotate
3:1296e996026a 2013-05-31 Now really at 1kHz File  Diff  Annotate