Thomas Burgers / Mbed 2 deprecated ZZ-TheChenneRobot

Dependencies:   Encoder HIDScope MODSERIAL QEI biquadFilter mbed

Revisions of main.cpp

Revision Date Message Actions
66:04a203e43510 2015-10-20 cleaned up intro script File  Diff  Annotate
65:2da8cf778181 2015-10-19 potmeter to assign value to controller File  Diff  Annotate
64:97e2db3eb0eb 2015-10-19 added fabs to the moving average so the error doesn't get cancelled out File  Diff  Annotate
63:d86a46c8aa0c 2015-10-18 STRIKE MOTOR different loudnesses possible File  Diff  Annotate
62:625ebae3cb6d 2015-10-18 pwm_strike works (yet needs to be implemented inside a function) File  Diff  Annotate
61:5b644df6f6ab 2015-10-18 Strike works (loudness needs to be implemented) File  Diff  Annotate
60:084fd3352882 2015-10-17 Bezig met strike, lijkt niet veel te doen nog -> opnieuw beginnen of meer printf plaatsen voor verduidelijking File  Diff  Annotate
59:38a302b9f7f9 2015-10-17 Left and Right werkend op potmeters File  Diff  Annotate
58:141787606c4a 2015-10-17 action controller right werkend File  Diff  Annotate
57:8f3603cc2e71 2015-10-17 changed av error to 30 samples instead of 10; File  Diff  Annotate
56:8df2ebb732a0 2015-10-17 WORKING: turn motor turn left action control File  Diff  Annotate
55:f4ab878ae910 2015-10-17 added error count and error turn average (left action mechanism) File  Diff  Annotate
54:9eb449571f4f 2015-10-16 execute plant turn added File  Diff  Annotate
53:05194bab0bfd 2015-10-15 Everything until Action controller works, working on turn left part (next thing: create one function that executes the whole proces of PID controller -> pwm -> plant File  Diff  Annotate
52:b530adf72f79 2015-10-15 PID controller functie werkt File  Diff  Annotate
51:ec278d148932 2015-10-15 nieuwe versie (backup) werkt nog niet; File  Diff  Annotate
50:6060f45d343a 2015-10-15 Added PID control function (no errors) changed some arbitrary lines File  Diff  Annotate
49:a8a68abf814f 2015-10-15 added PID_control function File  Diff  Annotate
48:950b1f34161b 2015-10-15 Calibration turn motor set position works (line 403) File  Diff  Annotate
47:c61873a0b646 2015-10-14 Alles (opmerking zelfde als vorige commit): ADDED table of content File  Diff  Annotate
46:9279c7a725bf 2015-10-14 ALLES SAMEN: action controller gesupressed en EMG ook nog niet goed uitgewerkt. added (nu gaan zorgen voor aan en uitschakelbare ticker) File  Diff  Annotate
45:359df0594588 2015-10-14 PID controller (hidscope?/werkend?): added reference if at boundary bottle and try to go to the side where no bottles are; than immediatly turn 5 bottles to the left File  Diff  Annotate
44:5dd0a3d24662 2015-10-14 PID Controller (versie 10) - cleaned up some comments, added some comments File  Diff  Annotate
43:fb69ef657f30 2015-10-14 PID CONTROLLER : added button calibration for starting position added some strike motor constants File  Diff  Annotate
42:0a7898cb3e94 2015-10-14 PID Controller + HIDSCOPE (versie 7): specified a PID activator for the turn and strike motor (needed if different P, I, D, gain values) and added some comments File  Diff  Annotate
41:424264a4c39c 2015-10-14 PID CONTROLLER + HIDSCOPE (versie 5) : changed the location where the filters are defined for the derivative step File  Diff  Annotate
40:bbe7922723df 2015-10-14 PID CONTROLLER + HIDSCOPE (versie 4): added deactivor that deactivates the PID gains (the plant) if the error is small enough to prevent the motor from spinning File  Diff  Annotate
39:104a038f7b92 2015-10-14 PID CONTROLLER + HIDSCOPE (versie 3): added a function that changes the reference position File  Diff  Annotate
38:17a1622a27f7 2015-10-14 PID CONTROLLER + WERKEND HIDSCOPE (VERSIE 2) Added function to activate and deavtivate the PID controller File  Diff  Annotate
37:23660d12d772 2015-10-14 TEST pid in FUNCTIE : getPulses lijkt niet te werken in de functie File  Diff  Annotate
36:da07b5c2984d 2015-10-13 PID Controller + WERKENDE HIDSCOPE File  Diff  Annotate
34:c672f5c0763f 2015-10-13 PID controller (Version 2): changed Lay-Out File  Diff  Annotate
33:5386ccaa5160 2015-10-13 ACTION controller (version 2) : changed some constant variables name to match with EMG measuring script File  Diff  Annotate
32:10e6160fdbaa 2015-10-12 potmeter (EMG werkt) floats in printf anders wordt er niks weergegeven File  Diff  Annotate
31:113f630f7e7d 2015-10-12 corrected a mistake: changed || to && (or to and) File  Diff  Annotate
30:176ca1193a0a 2015-10-12 added putty comments for debugging (changed location of measuring potmeter (EMG)) File  Diff  Annotate
29:263c680068db 2015-10-10 changed EMG threshold and removed some unused variables File  Diff  Annotate
28:482ac040fb0d 2015-10-10 Action controller (EMG-> action controller -> PID) File  Diff  Annotate
27:b7caf668a682 2015-10-08 REGELAAR begin: EMG--> REGELAAR -> CONTROLLER File  Diff  Annotate
26:b3693f431d6f 2015-10-08 PID CONTROLLER (versie 1) : gains en filter moeten nog afgesteld worden en netter gedefinieerd worden File  Diff  Annotate
25:d536056a2666 2015-10-08 red, blue, green led File  Diff  Annotate
24:8ca471562212 2015-10-08 added green and blue led File  Diff  Annotate
23:335a3b843a5e 2015-10-08 changed led File  Diff  Annotate
22:eaf4cbd1dcec 2015-10-08 Hidscope werkend channel 1: motor error en reference en channel 2 Pwm naar motor File  Diff  Annotate
21:c75210216204 2015-10-08 Hidscope unsupressed en constante aangepast File  Diff  Annotate
20:bdc62ee49197 2015-10-08 HIDSCOPE supressed File  Diff  Annotate
19:c6dc35b4cc0c 2015-10-08 changed reference button (one button was used once) File  Diff  Annotate
18:6c065915f474 2015-10-08 Added reference change buttons File  Diff  Annotate
17:aa167ab3cf75 2015-10-08 moved location reference turn defined and added reference change button File  Diff  Annotate
16:a8d2c721cf56 2015-10-08 Changed scope inputs for HIDSCOPE File  Diff  Annotate
15:f029351f1f3a 2015-10-08 added debug led File  Diff  Annotate
14:599896acf576 2015-10-07 HIDSCOPE aangelegd, overal gesupressed nog File  Diff  Annotate
13:bcf8ec7120ab 2015-10-07 added pwm_motor_turn_D File  Diff  Annotate
12:26759959c960 2015-10-07 PID en filter --> waarden nog uitzoeken; File  Diff  Annotate
11:ecd83b303252 2015-10-07 PID werkend Gains random File  Diff  Annotate
10:09ba965045a7 2015-10-07 werkende PI controller, gain I uitzoeken File  Diff  Annotate
9:697134d3564e 2015-10-07 vanaf hier werkt de p-controller, lijkt wel alsof het langer duurt dan eerst voor evenwicht File  Diff  Annotate
8:50d6e2323d3b 2015-10-07 Opzet PID controller File  Diff  Annotate
7:ddd7fb357786 2015-10-06 Set CW en CCW en added some comments File  Diff  Annotate
6:8a62f76a1f68 2015-10-05 WERKEND P-controller met verschil in positie in graden; File  Diff  Annotate