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

Changes

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