2014 Eurobot fork
Dependencies: mbed-rtos mbed QEI
Revision 74:9620d24a2f4e, committed 2013-04-15
- Comitter:
- madcowswe
- Date:
- Mon Apr 15 14:31:27 2013 +0000
- Parent:
- 73:265d3cc6b0b1
- Child:
- 75:283283604485
- Commit message:
- added starting of motors
Changed in this revision
Processes/AI/ai.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;