State machine

Dependencies:   mbed Adafruit_GFX BioroboticsMotorControl MODSERIAL BioroboticsEMGFilter

Revisions of main.cpp

Revision Date Message Actions
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