first commit

Dependencies:   mbed MMA8451Q

Changes

RevisionDateWhoCommit message
34:cb9a0cec2feb 2021-11-22 aalawfi - 3 Laps, fastest is ~~12.3s default tip
33:0a1e29085b79 2021-11-22 quarren42 added lap counter code
32:ec8c9a82d9fc 2021-11-22 aalawfi -
31:d570f957e083 2021-11-22 aalawfi - close to 12.15
30:ab358e8a9e6a 2021-11-19 quarren42 go zoom zoom on straightaway
29:17bec543a437 2021-11-19 aalawfi -v
28:1c2eb25d624e 2021-11-17 aalawfi 0.17 speed => ~~ 17.35 s
27:0fa9d61c5fc6 2021-11-15 aalawfi - working 10%
26:54ce9f642477 2021-11-08 aalawfi - 100Hz sample rate - not working as desired
25:8bd029d58251 2021-11-06 aalawfi -
24:7bf492bf50f4 2021-11-04 aalawfi - Most recent 11/4/2021. Changed gains values for calmer steering
23:4c743746533c 2021-11-03 aalawfi - Most recent 11/3/2021
22:08d30ea47111 2021-11-03 aalawfi - PID control + new filters (time derivative, time integral), K gains not exact from matlab
21:9e6ddb590103 2021-10-29 quarren42 latest commit
20:7dcdadbd7bc0 2021-10-28 quarren42 - Most recent 10/28/2021
19:65fecaa2a387 2021-10-28 quarren42 most recent, code works??
18:831c1e03d83e 2021-10-26 quarren42 - Most recent
17:d2c98ebda90b 2021-10-26 quarren42 fixed PI controller, main loop still crashes though;
16:8cd4dd323941 2021-10-26 aalawfi - Fixed brakes problem. Motors responding well no heating issues. Must fixe PI controller issue still
15:32a4440ad305 2021-10-26 aalawfi - Separated the steering and driving tickers. Motor duty cycle hard coded for debugging purposes.
14:eb9c58c0f8cd 2021-10-26 aalawfi - Combining the tickers is not effective. When steering and driving are on separate tickers they respond better
13:0091da3021df 2021-10-26 aalawfi - added Boolean to check if the brakes are on or off
12:f6139597354e 2021-10-26 aalawfi - Added enable and disable brakes to state_control (commented, did not implement yet)
11:210a33ee774f 2021-10-26 aalawfi - Added enable_brakes and disable_brakes void functions in driving.h
10:b0999f69c775 2021-10-26 aalawfi - changed the if else statement for driving to follow the same structure as in steering (the steering structure was tested )
9:5320c2dfb913 2021-10-26 aalawfi -
8:cca7647cdb4b 2021-10-25 quarren42 ko, ikj,
7:05ea1c004b49 2021-10-25 aalawfi - Combined steering and driving tickers into one ticker that calls both, similar to what is shown in the lecture
6:d2bd68ba99c9 2021-10-25 quarren42 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)
5:636c3fe18aa8 2021-10-25 aalawfi - 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.
4:8b1d52dab862 2021-10-25 aalawfi - Updated steering pins
3:25c6bf0abc00 2021-10-25 aalawfi - Created bluetooth.h and moved bluetooth related stuff over there. ; - Moved PI controller algorithm to driving.h
2:c857935f928e 2021-10-25 aalawfi - Added steering files ; - We must re-assign IO pins
1:c324a2849500 2021-10-24 quarren42 final code before merging;
0:0a6756c7e3ed 2021-09-10 quarren42 test commit;