The final program for the #include AIR robot

Dependencies:   Biquad HIDScope QEI angleandposition controlandadjust mbed

Fork of includeair by BioRobotics

Revisions of main.cpp

Revision Date Message Actions
47:29ea2915b811 2015-11-02 ingeleverd File  Diff  Annotate
46:c03f2c576630 2015-11-02 same as before only now prints errors to hidscope; File  Diff  Annotate
45:653370fa8b67 2015-11-02 made demo optional and running good; File  Diff  Annotate
44:fd7b3ace6c19 2015-11-02 maked going to demo mode optional File  Diff  Annotate
43:a5f47a1f11d2 2015-11-02 changed gotogoal to gotopos and used it for the demo; File  Diff  Annotate
42:386fc2fcfb22 2015-10-30 added a function to move slowly to the goal; File  Diff  Annotate
41:e9fd0670f70c 2015-10-29 Added demo mode; File  Diff  Annotate
40:8b25c0531340 2015-10-29 adjusted safetymargin; File  Diff  Annotate
39:ebcf0a60f58b 2015-10-29 converted floats to doubles File  Diff  Annotate
38:df0b0abea598 2015-10-29 added 1 : in a comment File  Diff  Annotate
37:7fb72473592e 2015-10-29 removed the radtodeg constant because we didnt need it File  Diff  Annotate
36:3856509519cf 2015-10-29 FINAL, WORKING File  Diff  Annotate
35:0141a1fe8138 2015-10-29 final version of code, increased button read frequency when calibrating and decreased the hidscope frequency removed the reset encoder from normal running mode. and added a lot of comments File  Diff  Annotate
34:bc2d64e86cb9 2015-10-29 pod returns to middle after shooting; File  Diff  Annotate
33:1c7b498ded25 2015-10-28 added emg calibration mode and separate filter gains per arm; File  Diff  Annotate
32:c940f6b6a6a0 2015-10-28 ander verplaatsingsprofiel, met cosinus dingen; File  Diff  Annotate
31:8646e853979f 2015-10-28 working! (with buttoncontrol) controllervalues quite good. next step is to use skew sine displacement function for shooting; File  Diff  Annotate
30:cd4d9754a357 2015-10-28 With these settings the system works pretty well via button control, only a bit slow. File  Diff  Annotate
29:cd47a5a772db 2015-10-27 Now using the calculated x position when shooting File  Diff  Annotate
28:71a90073e482 2015-10-27 adjusted shoot loop so filter resets and the filterded value does not stay high; File  Diff  Annotate
27:31cb8fbd976d 2015-10-26 working with pid; File  Diff  Annotate
26:c935e39cce8a 2015-10-26 adjusted calling the controller to the new library ( so error_prev error_int and Ts is moved to within the library; File  Diff  Annotate
25:21dcd3f9eac2 2015-10-23 checked if loops do not take too much time and added timer File  Diff  Annotate
24:dd75c961ae88 2015-10-20 increased controller frequency and decreased hidscope frequency File  Diff  Annotate
23:1c4a18799464 2015-10-20 working; File  Diff  Annotate
22:b29ba919d93e 2015-10-20 added error to hidscope; File  Diff  Annotate
21:6954cc25f2a7 2015-10-20 adjusted controller values, now go back after shooting with steps instead of ginormous fault; File  Diff  Annotate
20:c5fb2ff5d457 2015-10-20 changed desired_angle from vector to two variables and added comments File  Diff  Annotate
19:6f22b5687587 2015-10-20 shooting working; File  Diff  Annotate
18:1c3254a32fd1 2015-10-19 works now with calculated angles. only the shooting has to be calculated; File  Diff  Annotate
17:72d3522165ac 2015-10-19 buttoncontrol mode now working at rigth speed; File  Diff  Annotate
16:63320b8f79c2 2015-10-19 added buttoncontrolmode, but desiredpositoin moves too much per second; File  Diff  Annotate
15:17de575b7385 2015-10-19 added buttoncontrolmode and ledinfo green for normal running mode, blinking green for buttoncontrol mode, blinking blue for shooting, red with corresponding leds on top for calibration mode File  Diff  Annotate
14:4c4f45a1dd23 2015-10-19 added led info green led is normal mode, blinking blue led is shooting, red led and corresponding blinking led on top is calibration mode File  Diff  Annotate
13:47b065aadae9 2015-10-19 x movement in stead of y movement; File  Diff  Annotate
12:b9f0b92bd659 2015-10-19 added filtered signal to HIDScope; File  Diff  Annotate
11:c10651055871 2015-10-19 controllable with emg signals File  Diff  Annotate
10:9e96d14d7034 2015-10-14 Added stop when switching modes; File  Diff  Annotate
9:4ee354663560 2015-10-14 calibration now working!; File  Diff  Annotate
8:54a7da09ccad 2015-10-14 added calibration for left arm, now right arm and emg control File  Diff  Annotate
7:7fbb2c028778 2015-10-14 added control for calibration, now read out buttons; File  Diff  Annotate
6:37c94a5e205f 2015-10-14 Added switch 3 to change to calibration mode (using the buttons to set arms to 0 degrees; File  Diff  Annotate
5:8ac5d0651e4d 2015-10-14 valuechange working make sure you specify the format correct when using scanf (floats and doubles are different); File  Diff  Annotate
4:bf7765b0f612 2015-10-13 now led blinks on both emg signals; ; File  Diff  Annotate
3:48438eea184e 2015-10-13 now with threshold working. when threshold is crossed, led lights up; File  Diff  Annotate
2:c7707856d137 2015-10-13 Added option to adjust the gain of the filtered signal via Serial, called with sw2 File  Diff  Annotate
1:917c07a4f3ec 2015-10-12 Added the biquad filter; File  Diff  Annotate
0:dd66fff537d7 2015-10-09 start of the final program; File  Diff  Annotate