GDP 4 / Mbed 2 deprecated pid-car-example

Dependencies:   FRDM-TFC mbed CBuffer XBEE mbed_angular_speed motor2 MMA8451Q

Fork of KL25Z_Camera_Test by GDP 4

Files at this revision

API Documentation at this revision

Comitter:
oj3g13
Date:
Thu Jan 12 13:29:53 2017 +0000
Parent:
34:3de7a19ccea3
Child:
36:7f482c048387
Commit message:
Crossroad detection and ED

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
motor2.lib Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Jan 12 12:51:24 2017 +0000
+++ b/main.cpp	Thu Jan 12 13:29:53 2017 +0000
@@ -304,6 +304,9 @@
     //PID Stuff!
     t.start();
     handlePID(&servo_pid);
+    //enables the ED
+    sensorCorner(left_motor_pid.desired_value,right_motor_pid.desired_value
+    , servo_pid.output,speed);
     handlePID(&left_motor_pid);
     handlePID(&right_motor_pid);
 
--- a/motor2.lib	Thu Jan 12 12:51:24 2017 +0000
+++ b/motor2.lib	Thu Jan 12 13:29:53 2017 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/teams/GDP-4/code/motor2/#3d6bb5f736a5
+http://developer.mbed.org/teams/GDP-4/code/motor2/#51783b84a859