summaryrefslogtreecommitdiff
path: root/digital/io/src/move.h
diff options
context:
space:
mode:
authorNicolas Schodet2010-04-23 00:33:35 +0200
committerNicolas Schodet2010-04-23 00:33:35 +0200
commit71d99ef2521c11addf8dbdce89d195a9de083f74 (patch)
tree42c626fe2fe84fb026cdae3b47d8f56d006fb794 /digital/io/src/move.h
parent8ca615ddaeb74c8cf24c04c070141b46fcbbe51a (diff)
digital/io/src: move move FSM defines
Diffstat (limited to 'digital/io/src/move.h')
-rw-r--r--digital/io/src/move.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/digital/io/src/move.h b/digital/io/src/move.h
index a208997f..64100a14 100644
--- a/digital/io/src/move.h
+++ b/digital/io/src/move.h
@@ -27,6 +27,19 @@
#include "defs.h"
+/** Real radius of an obstacle. */
+#define MOVE_REAL_OBSTACLE_RADIUS 150
+
+/** Obstacle radius for the path module.
+ * It corresponds to the real radius of the obstacle plus the distance you
+ * want to add to avoid it. */
+#define MOVE_OBSTACLE_RADIUS (MOVE_REAL_OBSTACLE_RADIUS \
+ + RADAR_CLEARANCE_MM \
+ + BOT_SIZE_SIDE)
+
+/** Obstacle validity time (in term of number of cycles). */
+#define MOVE_OBSTACLE_VALIDITY (6 * 225)
+
/**
* Move FSM associated data.
*/