summaryrefslogtreecommitdiff
path: root/n/es-2007/src/ack.h
diff options
context:
space:
mode:
authordufourj2007-05-17 05:23:42 +0000
committerdufourj2007-05-17 05:23:42 +0000
commit81ebe6b307f7f3cc12cca6fd7745b412cb13e429 (patch)
tree3a0f383b6208113392f2497893ed24f0a0eb69ae /n/es-2007/src/ack.h
parent654734a2244e26641b447c0defb4d01006cf1164 (diff)
* Sharp:
- enhance detection of front objects by using sharp with "ack" solution in ES AVR program.
Diffstat (limited to 'n/es-2007/src/ack.h')
-rw-r--r--n/es-2007/src/ack.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/n/es-2007/src/ack.h b/n/es-2007/src/ack.h
index 53a2927..2441cd9 100644
--- a/n/es-2007/src/ack.h
+++ b/n/es-2007/src/ack.h
@@ -32,12 +32,8 @@
* You must use a different number for each code and it must be lower than 255
* of course ! */
#define ACK_NOTHING 0 /* Nothing to ack */
-#define ACK_CONTACT_FRONT 1 /* Something in the front */
-#define ACK_BARILLET_BALL_FRONT 2 /* A ball has been get from the front
- */
-#define ACK_BARILLET_BALL_REAR 3 /* Ball in the rear */
-
-#define ACK_BARILLET_BALL_ARRIVED 4 /* Ball is comming */
+#define ACK_SHARP_FRONT 1 /* Something in the front */
+/* XXX Different value if right or left sharp detect something in front */
// FIXME, inline ? static ?