State machine

Dependencies:   mbed Adafruit_GFX BioroboticsMotorControl MODSERIAL BioroboticsEMGFilter

Revisions of main.cpp

Revision Date Message Actions
28:25917b26022c 2018-11-01 + Added debug for motor calibration. File  Diff  Annotate
26:a8f4a117cc0d 2018-11-01 + Inverse and forward kinematics works. File  Diff  Annotate
25:cc81f2120eda 2018-11-01 + Arrows now correct.; * Flipped code location of homing.; File  Diff  Annotate
24:e1092f95c82b 2018-11-01 + Homing state is back to angles.; + Down arrows on screen should be correct now. File  Diff  Annotate
23:fb681b074a92 2018-11-01 + Changed home state to use inverse kinematics. File  Diff  Annotate
21:d541303a2ea6 2018-10-31 + Debugging forward and inverse kinematics.; File  Diff  Annotate
20:af1a6cd7469b 2018-10-31 + Added forward kinematics. File  Diff  Annotate
19:53b9729fbab5 2018-10-31 + Added maximum pwm fraction for the motors. File  Diff  Annotate
16:9c5ef6fe6780 2018-10-31 + UNTESTED: Added motor calibration. File  Diff  Annotate
15:f65b4566193e 2018-10-31 + Should be displaying arrows in normal operation. File  Diff  Annotate
14:b97e7a41ec23 2018-10-31 * Motor reduction ratio test now actually works File  Diff  Annotate
13:88967c004446 2018-10-31 + Added motor reduction ratio. File  Diff  Annotate
12:0c10396d0615 2018-10-31 + Set motor to arm gear ratios. File  Diff  Annotate
11:d980e0e581db 2018-10-31 * Made the stop state say STOP instead of error. File  Diff  Annotate
10:b165ccd11afd 2018-10-31 * Halfed the button poll frequency. File  Diff  Annotate
9:27d00b64076e 2018-10-31 + Added dummy button transitions between states. File  Diff  Annotate
8:9090ab7c19a8 2018-10-31 + Added motor library and stop function in the failure state. File  Diff  Annotate
7:e7f808875bc4 2018-10-31 * Changed to a button polling scheme. This because our buttons seem to generate more chatter than the rise and fall interrupts of the mbed can handle. File  Diff  Annotate
6:bfc6e68774f5 2018-10-30 + Additional text on screen now works. File  Diff  Annotate
5:2632dfc8454c 2018-10-30 + All states now print their titles. File  Diff  Annotate
4:5a44ab7e94b3 2018-10-30 + States can now print their name to the screen. File  Diff  Annotate
3:4b19b6cf6cc7 2018-10-30 + Added screen basics. File  Diff  Annotate
2:141cfcafe72b 2018-10-30 + Functions for every state. File  Diff  Annotate
1:cfa5abca6d43 2018-10-30 + Button inputs. File  Diff  Annotate
0:7d25c2ade6c5 2018-10-29 State machine so far (met Software milestone 3 uitgebreide voorbeeld gemaakt) File  Diff  Annotate