From 80b3da91dac28a5895a8cb9f0477a7008365dd56 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 1 Apr 2010 23:57:20 +0200 Subject: digital/io: wipe-out old robot code, closes #112 --- digital/io/src/playground.h | 49 +-------------------------------------------- 1 file changed, 1 insertion(+), 48 deletions(-) (limited to 'digital/io/src/playground.h') diff --git a/digital/io/src/playground.h b/digital/io/src/playground.h index 8b863385..6e962423 100644 --- a/digital/io/src/playground.h +++ b/digital/io/src/playground.h @@ -34,7 +34,7 @@ * see it with the two start zone at the top of the scheme). */ -#include "giboulee.h" +#include "bot.h" /** * The width of the table, in millimeters. @@ -72,48 +72,6 @@ #define PG_Y_START (PG_HEIGHT - 70) #define PG_A_START (-90 * BOT_ANGLE_DEGREE) -/** - * The distance to remove from the real position of the distributor before - * doing the "go to the distributor". - */ -#define PG_DISTANCE_DISTRIBUTOR 300 - -/** - * The position of our ice distributor minus the distance to remove (only for the - * X axis). - */ -#define PG_DISTRIBUTOR_ICE_OUR_X \ - (PG_X_VALUE_COMPUTING (0 + PG_DISTANCE_DISTRIBUTOR)) -#define PG_DISTRIBUTOR_ICE_OUR_Y 1350 -#define PG_DISTRIBUTOR_ICE_OUR_A \ - (PG_A_VALUE_COMPUTING (180 * BOT_ANGLE_DEGREE)) - -/** - * The position of adverse ice distributor minus the distance to remove (only - * for the X axis). - */ -#define PG_DISTRIBUTOR_ICE_ADVERSE_X \ - (PG_X_VALUE_COMPUTING (PG_WIDTH - PG_DISTANCE_DISTRIBUTOR)) -#define PG_DISTRIBUTOR_ICE_ADVERSE_Y 1350 -#define PG_DISTRIBUTOR_ICE_ADVERSE_A \ - (PG_A_VALUE_COMPUTING (0)) - -/** - * The position of our distributor minus the distance to remove (only for the - * Y axis). - */ -#define PG_DISTRIBUTOR_SAMPLE_OUR_X \ - (PG_X_VALUE_COMPUTING (700)) -#define PG_DISTRIBUTOR_SAMPLE_OUR_Y (PG_HEIGHT - PG_DISTANCE_DISTRIBUTOR) -#define PG_DISTRIBUTOR_SAMPLE_OUR_A (90 * BOT_ANGLE_DEGREE) - -/** - * The position of the gutter. - */ -#define PG_GUTTER_X (PG_X_VALUE_COMPUTING (2500)) -#define PG_GUTTER_Y (300) -#define PG_GUTTER_A (90 * BOT_ANGLE_DEGREE) - /** * The backward move for the MOVE_FSM. */ @@ -125,9 +83,4 @@ #define PG_START_ZONE_LENGTH 500 #define PG_START_ZONE_WIDTH 500 -/** - * The bottom of the table is not usable. - */ -#define PG_BOTTOM_UNUSABLE_ZONE 150 - #endif // playground_h -- cgit v1.2.3