car using PID from centre line
Dependencies: FRDM-TFC mbed CBuffer XBEE mbed_angular_speed motor2 MMA8451Q
Fork of KL25Z_Camera_Test by
Diff: main.cpp
- Revision:
- 35:e23354abf352
- Parent:
- 34:3de7a19ccea3
- Child:
- 36:7f482c048387
--- 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);