De hele robot in 1 keer bam

Dependencies:   mbed QEI Servo HIDScope biquadFilter MODSERIAL FastPWM

Revisions of main.cpp

Revision Date Message Actions
41:8e8141f355af 2019-10-30 EMG and motor machines are working correctly File  Diff  Annotate
40:c6dffb676350 2019-10-30 Motor state added, needs testing File  Diff  Annotate
39:f9042483b921 2019-10-30 EMG substate is fully implemented, needs testing File  Diff  Annotate
38:8b597ab8344f 2019-10-30 Implemented EMG substate, not working correctly yet File  Diff  Annotate
37:806c7c8381a7 2019-10-30 First backbone of global state machine, working and tested File  Diff  Annotate
36:ec2bb2a02856 2019-10-29 Added velocity and acceleration of EMG output (needs testing) File  Diff  Annotate
35:e82834e62e44 2019-10-29 Added derivative of output signal for pulse detection (needs testing) File  Diff  Annotate
34:13fac02ef324 2019-10-29 Fixed bug with rescale function, emg state machine is finished File  Diff  Annotate
33:90404e64d844 2019-10-29 Version to build motor state machine File  Diff  Annotate
32:b9b9c50f5429 2019-10-29 Added getMax function, changed MVC from mean to max value of MVC calibration File  Diff  Annotate
31:b5188b6d45db 2019-10-28 Operation mode is working. TODO: 1. Check rescale; 2. Make MVC based on max value instead of mean File  Diff  Annotate
30:bac3b60d6283 2019-10-28 Completed emg_operation mode, added more comments, needs testing; File  Diff  Annotate
29:f51683a6cbbf 2019-10-28 Added even more comments File  Diff  Annotate
28:59e8266f4633 2019-10-28 Added more comments; File  Diff  Annotate
27:f18da01093c9 2019-10-28 Working on cleaning up code and testing state machine WITH operation mode. File  Diff  Annotate
26:7e81c7db6e7a 2019-10-25 Maybe working version of makeScale and EMG operation mode in state machine. Needs testing File  Diff  Annotate
25:a1be4cf2ab0b 2019-10-25 EMG State machine is working except the make scale function File  Diff  Annotate
24:540c284e881d 2019-10-25 Still working on state machine. Make scale function in this version File  Diff  Annotate
23:8a0a0b959af1 2019-10-25 Still still working on EMG calibration state machine File  Diff  Annotate
22:9079c6c0d898 2019-10-25 Still working on calibration state machine; File  Diff  Annotate
21:e4569b47945e 2019-10-25 Started work on EMG state machine File  Diff  Annotate
20:0e9218673aa8 2019-10-25 Working on optimizing vector functions File  Diff  Annotate
19:94dc52f8a59e 2019-10-25 Fixed filters for multiple channels File  Diff  Annotate
18:9f24792bb39a 2019-10-25 Removed minor errors File  Diff  Annotate
17:e4e7b1fbb263 2019-10-25 Added second EMG Channel for testing. File  Diff  Annotate
16:7acbcc4aa35c 2019-10-22 Started work in EMG substate machine. We first need to draw the substate machine on paper File  Diff  Annotate
15:421d3d9c563b 2019-10-22 Fixed bug which caused memory overflow, fixed wrong HIDScope outputs File  Diff  Annotate
14:3b6adb5000f1 2019-10-22 (debug required) Version is not working due to memory overflow bug. File  Diff  Annotate
13:2724d2e747f1 2019-10-22 Cleaned up code and placed comments. Added more scopes to better view filter impact. File  Diff  Annotate
12:70f0710400c2 2019-10-21 EMG Calibration (almost) finished, working on making scale factors File  Diff  Annotate
11:042170a9b93a 2019-10-21 Calibration is working; File  Diff  Annotate
10:97a79aa10a56 2019-10-21 Working version, filter redesign File  Diff  Annotate
9:f6a935be28e1 2019-10-21 Vector removed, replaced with array methods File  Diff  Annotate
8:ea3de43c9e8b 2019-10-21 Testing EMG calibration MVC File  Diff  Annotate
7:7a088536f1c9 2019-10-21 Working on calibration File  Diff  Annotate
6:5437cc97e1e6 2019-10-20 Added filter stability check, cleaned up code a bit File  Diff  Annotate
5:3d65f89e3755 2019-10-20 EMG envelope complete File  Diff  Annotate
4:09a01d2db8f7 2019-10-20 Filters rewrite complete. Raw EMG output can be measured now. File  Diff  Annotate
3:c0ece64850db 2019-10-20 Completely rewrote biquad filters for easier manipulation and implementation of 4th order filters. File  Diff  Annotate
2:d3e9788ab1b3 2019-10-20 Adjusted filters (removed redundant filters). Added libraries. Commented out irrelevant libraries. (in progress) adding functions for different filters. File  Diff  Annotate
1:059cca298369 2019-10-20 Added filter values, rewrote variable names (not finished) File  Diff  Annotate
0:6972d0e91af1 2019-10-20 filteren van EMG signaal File  Diff  Annotate