first commit

Dependencies:   mbed MMA8451Q

Revisions of state_control.h

Revision Date Message Actions
31:d570f957e083 2021-11-22 - close to 12.15 File  Diff  Annotate
27:0fa9d61c5fc6 2021-11-15 - working 10% File  Diff  Annotate
26:54ce9f642477 2021-11-08 - 100Hz sample rate - not working as desired File  Diff  Annotate
25:8bd029d58251 2021-11-06 - File  Diff  Annotate
23:4c743746533c 2021-11-03 - Most recent 11/3/2021 File  Diff  Annotate
20:7dcdadbd7bc0 2021-10-28 - Most recent 10/28/2021 File  Diff  Annotate
19:65fecaa2a387 2021-10-28 most recent, code works?? File  Diff  Annotate
17:d2c98ebda90b 2021-10-26 fixed PI controller, main loop still crashes though; File  Diff  Annotate
16:8cd4dd323941 2021-10-26 - Fixed brakes problem. Motors responding well no heating issues. Must fixe PI controller issue still File  Diff  Annotate
14:eb9c58c0f8cd 2021-10-26 - Combining the tickers is not effective. When steering and driving are on separate tickers they respond better File  Diff  Annotate
12:f6139597354e 2021-10-26 - Added enable and disable brakes to state_control (commented, did not implement yet) File  Diff  Annotate
10:b0999f69c775 2021-10-26 - changed the if else statement for driving to follow the same structure as in steering (the steering structure was tested ) File  Diff  Annotate
9:5320c2dfb913 2021-10-26 - File  Diff  Annotate
7:05ea1c004b49 2021-10-25 - Combined steering and driving tickers into one ticker that calls both, similar to what is shown in the lecture File  Diff  Annotate
6:d2bd68ba99c9 2021-10-25 Added braking to the fault code, added low batt voltage to the fault code. Removed a wait method in the main loop bc it breaks the driving code (mbed is dumb) File  Diff  Annotate
5:636c3fe18aa8 2021-10-25 - Attempted to extend state control to driving: I wrapped the PI controller in an if-else statement, if the motor is enabled, allow PI controll, if the motor is disabled, write duty cycle of zero. File  Diff  Annotate
4:8b1d52dab862 2021-10-25 - Updated steering pins File  Diff  Annotate
2:c857935f928e 2021-10-25 - Added steering files ; - We must re-assign IO pins File  Diff  Annotate