Prathamesh Joshi / Mbed 2 deprecated EDiffMain
Revision:
5:ee37889edcab
Parent:
4:66b2a94a607f
--- a/algo.cpp	Fri Mar 08 21:54:08 2013 +0000
+++ b/algo.cpp	Sat Mar 09 06:10:08 2013 +0000
@@ -49,6 +49,7 @@
 //Further evalutes desired throttle left and right values from PID output and throttle input
 void pid()
 {   
+       /* Commented for offline testing.
       if (brake > 10 && throttle > 1.5)                                                               // What is max input when brake is NOT actuated???
       {
            flag_throttle_brake_plausibility = true;
@@ -90,6 +91,7 @@
       {
           rpm_Right = dead_rpm;
       }    
+      */
    
       // steering angle to turnradius
       if (abs(steering)<7)