first commit

Dependencies:   mbed MMA8451Q

Revisions of driving.h

Revision Date Message Actions
31:d570f957e083 2021-11-22 - close to 12.15 File  Diff  Annotate
30:ab358e8a9e6a 2021-11-19 go zoom zoom on straightaway File  Diff  Annotate
28:1c2eb25d624e 2021-11-17 0.17 speed => ~~ 17.35 s 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
21:9e6ddb590103 2021-10-29 latest commit File  Diff  Annotate
18:831c1e03d83e 2021-10-26 - Most recent 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
15:32a4440ad305 2021-10-26 - Separated the steering and driving tickers. Motor duty cycle hard coded for debugging purposes. 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
13:0091da3021df 2021-10-26 - added Boolean to check if the brakes are on or off File  Diff  Annotate
11:210a33ee774f 2021-10-26 - Added enable_brakes and disable_brakes void functions in driving.h 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
8:cca7647cdb4b 2021-10-25 ko, ikj, 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
3:25c6bf0abc00 2021-10-25 - Created bluetooth.h and moved bluetooth related stuff over there. ; - Moved PI controller algorithm to driving.h File  Diff  Annotate
1:c324a2849500 2021-10-24 final code before merging; File  Diff  Annotate