car using PID from centre line

Dependencies:   FRDM-TFC mbed CBuffer XBEE mbed_angular_speed motor2 MMA8451Q

Fork of KL25Z_Camera_Test by GDP 4

Revisions of main.cpp

Revision Date Message Actions
54:78854efeb1df 2017-04-28 small param changes; File  Diff  Annotate
52:af17b1a330f4 2017-04-28 added more stuff to the change to torque system,; no longer does measure amount to WL just set torque to 0 File  Diff  Annotate
51:6a84fbc404c8 2017-04-27 fixed error File  Diff  Annotate
50:1cfe1f975b0c 2017-04-27 added ability to change to torque based system File  Diff  Annotate
48:daa2a1900ada 2017-04-27 added variable for accelerometer threshold.; also change accelerometer reading from y to z File  Diff  Annotate
47:6a58dcef714f 2017-04-27 tweaked values of parameters; File  Diff  Annotate
46:6806ea59ffed 2017-03-27 added limiter top speed as precaution for sensors; File  Diff  Annotate
45:3435bdd2d487 2017-03-23 testing out accelerometer data for slope detection File  Diff  Annotate
44:1884ffec9a57 2017-03-20 merged button startup with commented code File  Diff  Annotate
43:649473c5a12b 2017-03-20 running the car without comms fixes File  Diff  Annotate
42:4395ede5781e 2017-01-29 added some comments to motor parts of the code File  Diff  Annotate
41:d74878640739 2017-01-25 readFloat function added File  Diff  Annotate
40:10e8e80af7da 2017-01-21 cleaned up handle comms function with command labels File  Diff  Annotate
39:7b28ee39185d 2017-01-13 changed tune variable to ed_tune.; added in ability to tune the ED from the telemetry File  Diff  Annotate
37:3baddde964db 2017-01-13 added tune changes to functions File  Diff  Annotate
36:7f482c048387 2017-01-13 Merged and published from yesterday File  Diff  Annotate
35:e23354abf352 2017-01-12 Crossroad detection and ED File  Diff  Annotate
34:3de7a19ccea3 2017-01-12 Reduced Image width by 2 pixels per side for reliable detection of lack of edges for reliable crossroads File  Diff  Annotate
33:0fc789c09694 2017-01-12 added comments for tests File  Diff  Annotate
32:6829684f8c4d 2017-01-11 added comments to relevant stuff File  Diff  Annotate
31:1a06c9e1985e 2017-01-11 Max: commented my stuff File  Diff  Annotate
30:6c047af9f0cc 2017-01-11 added changes to the motor library File  Diff  Annotate
29:b5b31256572b 2017-01-10 update from final day of testing File  Diff  Annotate
28:613239f10ba4 2016-12-15 actually got rid of thing.a File  Diff  Annotate
27:627d67e3b9b0 2016-12-15 changed slip detection (no unintended acceleration), refactored code aka finally got rid of thing File  Diff  Annotate
26:f3d770f3eda1 2016-12-15 Working start stop; File  Diff  Annotate
24:15264aee54d1 2016-12-13 added a croner speed variable i think? File  Diff  Annotate
23:b234e8fb51b3 2016-12-09 something changed File  Diff  Annotate
22:973b95478663 2016-12-12 Testing out some new ways to do start/stop marker detection. Nothing working yet though... File  Diff  Annotate
21:0b69fada7c5f 2016-12-09 all the broken things File  Diff  Annotate
20:ed954836d028 2016-12-09 add slip detection and changed pid sending to floats File  Diff  Annotate
19:65f0b6febc23 2016-12-07 added pid for motors; File  Diff  Annotate
18:0095a3a8f8e4 2016-12-06 added test functions; File  Diff  Annotate
17:6ae90788cc2b 2016-12-02 cleaned up stoff File  Diff  Annotate
16:81cdffd8c5d5 2016-12-02 fixed camera "state" variables for two cameras File  Diff  Annotate
15:ccde02f96449 2016-12-01 added slowing down for corners using second "lookahead" camera File  Diff  Annotate
14:13085e161dd1 2016-11-30 integrated electronic diff File  Diff  Annotate
13:4e77264f254a 2016-11-29 add corner detection File  Diff  Annotate
12:da96e2f87465 2016-11-21 i thought i updated this File  Diff  Annotate
11:53de69b1840b 2016-11-21 added hall sensor sending to jabba File  Diff  Annotate
10:1bd0224093e4 2016-11-16 added right motor "compensation" File  Diff  Annotate
9:aa2ce38dec6b 2016-11-16 added owens hall speed sesnor + send angular speed via xbee File  Diff  Annotate
8:7c5e6b1e7aa5 2016-11-14 Cleaned up, added lots of stuff File  Diff  Annotate
7:ad893fc41b95 2016-11-14 added basic start/stop line detection File  Diff  Annotate
6:b0e160c51013 2016-11-09 changed thresholding to differencing File  Diff  Annotate
4:4afa448c9cce 2016-11-03 add remote control File  Diff  Annotate
3:87a5122682fa 2016-11-02 init pid example using camera input File  Diff  Annotate
2:4b6f6fc84793 2016-10-28 Figuring out centre calc. File  Diff  Annotate
1:a4883d9c75ec 2016-10-14 No longer thresholding on FRDM board, just sending hex values to hosted program File  Diff  Annotate
0:566127ca8048 2016-10-14 Test File  Diff  Annotate