]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
Fixed display-qt compilation for gumstix.
authorMartin Vajnar <martin@martin-HP-ProBook-4330s.(none)>
Tue, 2 Oct 2012 13:41:46 +0000 (15:41 +0200)
committerMartin Vajnar <martin@martin-HP-ProBook-4330s.(none)>
Tue, 2 Oct 2012 13:41:46 +0000 (15:41 +0200)
src/display-qt/displayqt.cpp
src/display-qt/promene.h

index 96d96a7b2e5de21103cfde07648f3a46b68f5b84..5b16490f8d52dfdedfc31d4e7214ae5cf25d03f8 100644 (file)
@@ -5,7 +5,6 @@
 #include <QTimer>
 #include <QString>
 #include <robomath.h>
-#include <robot.h>
 
 //backround colors for labels
 #define GREEN "background-color:rgb(27, 255, 11)"
index 591e489da632fe5661179e2031782df9c8b4fc6b..33b96cfa4520fc7a608bad5f60f7a5f6f93b7531 100644 (file)
@@ -47,6 +47,12 @@ typedef enum {
        FSM_ACT = 2
 } UDE_fsm_t;
 
+typedef enum {
+        TC_WHITE = 0,          /* Coordinate transformation does not apply */
+        TC_GREEN,
+        TC_YELLOW
+} team_color;
+
 #define TRESHOLDS_VOLTAGE33 3.2
 #define TRESHOLDS_VOLTAGE50 4.9
 #define TRESHOLDS_VOLTAGE80 7.9