summaryrefslogtreecommitdiffhomepage
path: root/digital
diff options
context:
space:
mode:
authorJérémy Dufour2008-05-02 04:28:18 +0200
committerJérémy Dufour2008-05-02 04:28:18 +0200
commit93e80d4e5df33d88862635f199fbd6d124a24076 (patch)
tree6895092e98ed48f39856c432114965cc363d22bb /digital
parent26405c3578bfc4877f250ef10190693e7e09df76 (diff)
* digital/io/src
- revert commit for homologation mode has it is quite working.
Diffstat (limited to 'digital')
-rw-r--r--digital/io/src/top_cb.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/digital/io/src/top_cb.c b/digital/io/src/top_cb.c
index 076fcca7..33f5c467 100644
--- a/digital/io/src/top_cb.c
+++ b/digital/io/src/top_cb.c
@@ -40,8 +40,6 @@
#include "getsamples.h" /* getsamples_* */
#include "gutter.h" /* gutter_start */
-#include "main.h"
-
#include "io.h"
/**
@@ -135,10 +133,6 @@ top__GO_TO_ADVERSE_ICE_DISTRIBUTOR__move_fsm_finished (void)
* samples. The problem is this should depend on the time we have until
* the end of match */
uint8_t bitfield = _BV (out_right_box) | _BV (middle_right_box);
- if (main_always_stop_for_obstacle)
- {
- bitfield = _BV (middle_right_box);
- }
getsamples_start (PG_DISTRIBUTOR_ICE_ADVERSE_A, bitfield);
return top_next (GO_TO_ADVERSE_ICE_DISTRIBUTOR, move_fsm_finished);
}
@@ -164,10 +158,6 @@ top__GO_TO_OUR_ICE_DISTRIBUTOR__move_fsm_finished (void)
bitfield = _BV (out_left_box) | _BV (middle_box) | _BV
(out_right_box);
}
- if (main_always_stop_for_obstacle)
- {
- bitfield = _BV (middle_right_box);
- }
getsamples_start (PG_DISTRIBUTOR_ICE_OUR_A, bitfield);
return top_next (GO_TO_OUR_ICE_DISTRIBUTOR, move_fsm_finished);
}
@@ -194,10 +184,6 @@ top__GO_TO_SAMPLE_DISTRIBUTOR__move_fsm_finished (void)
*/
bitfield = _BV (middle_left_box) | _BV (middle_right_box);
}
- if (main_always_stop_for_obstacle)
- {
- bitfield = _BV (out_left_box);
- }
getsamples_start (PG_DISTRIBUTOR_SAMPLE_OUR_A, bitfield);
return top_next (GO_TO_SAMPLE_DISTRIBUTOR, move_fsm_finished);
}