Prototype PID - PING Feedback

Dependencies:   Ping Servo mbed

Revision:
1:c87ba5ee0b6a
Parent:
0:8777031777bf
--- a/main.cpp	Fri Nov 13 09:29:58 2015 +0000
+++ b/main.cpp	Fri Nov 13 09:59:58 2015 +0000
@@ -10,7 +10,7 @@
 float ki = 21.429; //konstanta integral
 float kd = 2.625; //konstanta derivative
 
-float clearence = 30; //wors case jarak lengan dengan robot eco
+float clearence = 20; //wors case jarak lengan dengan robot eco
 float errors;
 float last_error;
 float sum_error = 0;