De hele robot in 1 keer bam

Dependencies:   mbed QEI Servo HIDScope biquadFilter MODSERIAL FastPWM

Revisions of main.cpp

Revision Date Message Actions
70:c4a019e3830d 2019-11-05 FINAL VERSION: added many comments to code. File  Diff  Annotate
69:bfefdfb04c29 2019-11-05 Gecontroleerde versie nadat het bijna misging met publishen File  Diff  Annotate
68:2879967ebb25 2019-11-05 Added comments to Freek and Bas part File  Diff  Annotate
67:edc3c644d316 2019-11-01 Demo mode fixed to prevent robot from running away; File  Diff  Annotate
66:17be4d8e2c26 2019-11-01 Fixed operation mode to global wait (again), fixed demo mode y direction File  Diff  Annotate
65:a01cf17a2bce 2019-11-01 Merged File  Diff  Annotate
64:a0ca27f75801 2019-11-01 Operaton mode fixed to enable going into global wait mode again; File  Diff  Annotate
63:d17f45d88c7a 2019-11-01 Hopefully fixed operation mode agressive movement due to demo mode File  Diff  Annotate
62:b1790e927a90 2019-11-01 Fixed integral part of controller in certain demo states File  Diff  Annotate
61:07035c03cf29 2019-11-01 Changed demo mode velocities; File  Diff  Annotate
60:762b5c925e13 2019-11-01 Fixed demo positioning state error File  Diff  Annotate
59:57b9d3076930 2019-11-01 Changed demo mode to square program File  Diff  Annotate
58:8d8a98ec2904 2019-11-01 Integral part of controller only for few states fixed File  Diff  Annotate
57:d0d65376140f 2019-11-01 Last changes to buttons and LEDs File  Diff  Annotate
56:3f29502fcb55 2019-10-31 Latest version; File  Diff  Annotate
55:a4e63ef1587c 2019-10-31 Fixed EMG LED File  Diff  Annotate
54:a14acf0d1683 2019-10-31 Cleaned up code, removed old servo functions File  Diff  Annotate
53:35282a3e0cad 2019-10-31 Added potmeter Vx and Vy control, needs testing File  Diff  Annotate
52:fd35025574ca 2019-10-31 Corrected LED implementation, needs testing File  Diff  Annotate
51:7fe2659a1fcb 2019-10-31 LED machine implemented, needs testing File  Diff  Annotate
50:86bad994f08f 2019-10-31 Merged correct demo mode and corrected kinematics File  Diff  Annotate
49:80970a03083b 2019-10-31 Demo mode fixed hopefully, needs testing File  Diff  Annotate
48:31676da4be7a 2019-10-31 EnableServo in main functie gezet. Servo werkt nu altijd File  Diff  Annotate
47:63b5ccd969e9 2019-10-31 Debugging, changing motor double to float; File  Diff  Annotate
46:8a8fa8e602a1 2019-10-31 Still working on demo mode, is not working correctly yet. File  Diff  Annotate
45:d09040915cfe 2019-10-31 Fixed bug in operation mode. Operation mode tested and working. Removed operation_finished state temporarliy File  Diff  Annotate
44:342af9b3c1a0 2019-10-31 Demo and operation mode added, needs testing; File  Diff  Annotate
43:1bd5417ded64 2019-10-31 Operation mode bugfixed (still needs testing). Started implementing demo mode File  Diff  Annotate
42:2937ad8f1032 2019-10-31 Operation mode state machine implemented, needs testing File  Diff  Annotate
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