State machine

Dependencies:   mbed Adafruit_GFX BioroboticsMotorControl MODSERIAL BioroboticsEMGFilter

Revisions of main.cpp

Revision Date Message Actions
50:5d2176b93a65 2018-11-05 With new comments File  Diff  Annotate
49:b4fd52d244f9 2018-11-05 + Now actually resists people moving the arm (it didn't before) File  Diff  Annotate
46:0be634ee10e8 2018-11-01 + Reduced emg calibration time. This makes it easier to calibrate. File  Diff  Annotate
45:f0066593c174 2018-11-01 + WORKS! (It was the jumpers on the emg board.) File  Diff  Annotate
44:0056118c01b2 2018-11-01 + Now acutally reacts (jerkingly) to emg. File  Diff  Annotate
42:cafa56da9ed2 2018-11-01 + Now displays in normal operation whether the arms are tensed. File  Diff  Annotate
41:8640b5782bc7 2018-11-01 + EMG should controll robot, but doesnt correctly. File  Diff  Annotate
40:7e8d0632757c 2018-11-01 + EMG threshold debug works. File  Diff  Annotate
39:f119ca6fc821 2018-11-01 + EMG possibly calibratable. File  Diff  Annotate
36:691ea4660f29 2018-11-01 Timeouts and everything (heeft nog errors); File  Diff  Annotate
35:38a5af0afee8 2018-11-01 EMG_calibration toevoegen; File  Diff  Annotate
34:ae62ebf4d494 2018-11-01 + DEMO MODE WORKS (without screen arrows) File  Diff  Annotate
33:543debddb3a9 2018-11-01 + Motor restriction angles are now correcter than before. File  Diff  Annotate
32:b63b5837bcb1 2018-11-01 + Two directional demo works. File  Diff  Annotate
30:a45bbfa6bd22 2018-11-01 + Added a bit of breathing room for the motors while they wait for the other motor to be calibrated. File  Diff  Annotate
29:77fee8a01529 2018-11-01 * Fixed max speed bug in motor calibration.; File  Diff  Annotate
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