2014 Eurobot fork
Dependencies: mbed-rtos mbed QEI
Diff: Processes/AI/ai.cpp
- Revision:
- 74:9620d24a2f4e
- Parent:
- 70:0da6ca845762
- Child:
- 78:3178a1e46146
--- a/Processes/AI/ai.cpp Mon Apr 15 13:44:49 2013 +0000 +++ b/Processes/AI/ai.cpp Mon Apr 15 14:31:27 2013 +0000 @@ -5,6 +5,7 @@ #include "Colour.h" #include "supportfuncs.h" #include "Arm.h" +#include "MotorControl.h" //TODO: after 2013, kill entire AI layer as it is hacked together. Rest is fine-ish @@ -38,6 +39,7 @@ current_waypoint.angle_threshold = 0.02*PI; motion::collavoiden = 1; + MotorControl::motorsenabled = 1; motion::setNewWaypoint(Thread::gettid(),¤t_waypoint); float r = 0.61+0.02+0.01;