QQQ

Dependencies:   mbed-rtos mbed

Fork of BX-car_s by Tony Lin

Revision:
23:d6d4e8adf7fe
Parent:
21:5f7efc1ca8ad
--- a/controller.h	Tue Jul 01 13:09:06 2014 +0000
+++ b/controller.h	Wed Jul 02 13:33:49 2014 +0000
@@ -71,7 +71,8 @@
     * PID calculation.
     * @return The controller output as a float between outMin and outMax.
     */
-    float compute(float center, float sp);
+    float compute(int centerL, int centerR, int sp);
+    int getCenter(int centerL, int centerR);
 
     //Getters.
     float getInMin();