2014 Eurobot fork
Dependencies: mbed-rtos mbed QEI
Diff: Processes/Motion/motion.cpp
- Revision:
- 26:7cb3a21d9a2e
- Parent:
- 25:b16f1045108f
- Child:
- 32: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;