This is some awesome robot code

Dependencies:   mbed-rtos mbed QEI

Fork of ICRSEurobot13 by Thomas Branch

Files at this revision

API Documentation at this revision

Comitter:
madcowswe
Date:
Tue Apr 16 12:24:25 2013 +0000
Parent:
86:769e33a3f0ff
Child:
88:8850373c3f0d
Commit message:
Red 57

Changed in this revision

Processes/AI/ai.cpp Show annotated file Show diff for this revision Revisions of this file
globals.h Show annotated file Show diff for this revision Revisions of this file
--- a/Processes/AI/ai.cpp	Tue Apr 16 11:35:43 2013 +0000
+++ b/Processes/AI/ai.cpp	Tue Apr 16 12:24:25 2013 +0000
@@ -80,7 +80,7 @@
     Thread::signal_wait(0x1); //wait until wp reached
     #endif
     
-    Waypoint approach_wp = {2.2, 1.85, (-3.0f/4.0f)*PI, 0.03, 0.05*PI, 32};
+    Waypoint approach_wp = {2.2, 1.83/*1.85*/, (-3.0f/4.0f)*PI, 0.03, 0.05*PI, 32};
     motion::waypoint_flag_mutex.lock();
     motion::setNewWaypoint(Thread::gettid(),&approach_wp); 
     motion::waypoint_flag_mutex.unlock();
--- a/globals.h	Tue Apr 16 11:35:43 2013 +0000
+++ b/globals.h	Tue Apr 16 12:24:25 2013 +0000
@@ -2,8 +2,8 @@
 #ifndef GLOBALS_H
 #define GLOBALS_H
 
-//#define TEAM_RED
-#define TEAM_BLUE
+#define TEAM_RED
+//#define TEAM_BLUE
 
 #include "mbed.h"