summaryrefslogtreecommitdiff
path: root/digital/io-hub/src/guybrush/path.c
diff options
context:
space:
mode:
authorNicolas Schodet2012-05-02 21:31:39 +0200
committerNicolas Schodet2012-05-07 16:31:46 +0200
commit45af370d9be47e5d180ed172e780a36924519987 (patch)
tree3e634f7964c816cd46007add302109786af78b7e /digital/io-hub/src/guybrush/path.c
parent7432f74c696b7b84c1fbfb2c71a209863d5c1631 (diff)
digital/io-hub/src/guybrush: first dumb top FSM
Diffstat (limited to 'digital/io-hub/src/guybrush/path.c')
-rw-r--r--digital/io-hub/src/guybrush/path.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/digital/io-hub/src/guybrush/path.c b/digital/io-hub/src/guybrush/path.c
index 177f7d8c..735982ba 100644
--- a/digital/io-hub/src/guybrush/path.c
+++ b/digital/io-hub/src/guybrush/path.c
@@ -45,10 +45,6 @@
* path along nodes.
*/
-/** Clearance between obstacle and robot center, only used for grid
- * construction. */
-#define PATH_GRID_CLEARANCE_MM (70 + BOT_SIZE_RADIUS)
-
/** Number of possible obstacles. */
#define PATH_OBSTACLES_NB AC_PATH_OBSTACLES_NB
@@ -132,9 +128,6 @@ static const struct path_node_t path_nodes[PATH_FIXED_NODES_NB] = {
/* }}} */
};
-/** Shortcut. */
-#define PATH_TOTEM_CLEAR_MM (PG_TOTEM_WIDTH_MM / 2 + PATH_GRID_CLEARANCE_MM)
-
/** X position of columns. */
static const uint16_t path_nodes_x[PATH_COLUMNS_NB] = {
PG_TOTEM_LEFT_X - PATH_TOTEM_CLEAR_MM,