We are going to win! wohoo

Dependencies:   mbed mbed-rtos

Revision:
6:5a52c046d8f7
Parent:
5:a229f40c1210
--- a/Kalman/Kalman.h	Wed Nov 14 16:15:46 2012 +0000
+++ b/Kalman/Kalman.h	Wed Nov 14 16:49:10 2012 +0000
@@ -6,7 +6,7 @@
 
 #include "rtos.h"
 //#include "Matrix.h"
-//#include "motors.h"
+#include "encoders.h"
 #include "RFSRF05.h"
 #include "IR.h"
 #include "ui.h"
@@ -21,7 +21,7 @@
     enum measurement_t {SONAR1 = 0, SONAR2, SONAR3, IR1, IR2, IR3};
     static const measurement_t maxmeasure = IR3;
 
-    Kalman(Motors &motorsin,
+    Kalman(Encoders &encodersin,
            UI &uiin,
            PinName Sonar_Trig,
            PinName Sonar_Echo0,
@@ -65,7 +65,7 @@
 
     //Sensor interfaces
     RFSRF05 sonararray;
-    Motors& motors;
+    Encoders& encoders;
     UI& ui;
 
     Thread predictthread;