Colour sensors calibrated

Dependencies:   mbed-rtos mbed Servo QEI

Fork of ICRSEurobot13 by Thomas Branch

Revision:
27:7cb3a21d9a2e
Parent:
26:b16f1045108f
Child:
33:e3f633620816
--- a/Processes/Motion/motion.cpp	Wed Apr 10 02:01:51 2013 +0000
+++ b/Processes/Motion/motion.cpp	Wed Apr 10 03:46:23 2013 +0000
@@ -7,6 +7,7 @@
 
 #include "motion.h"
 #include "supportfuncs.h"
+#include "Kalman.h"
 
 namespace motion
 {
@@ -20,6 +21,7 @@
     Waypoint target_waypoint = *AI::current_waypoint;
     
     // get current state from Kalman
+    using Kalman::State;
     State current_state = Kalman::getState();
     
     float delta_x = target_waypoint.x - current_state.x;