From 0b9ae480b928a24664bfd30edcd17d760db593d1 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 25 Jun 2011 14:43:16 +0200 Subject: digital/io-hub/src/robospierre: disable pawn sensors when tower dropped --- digital/io-hub/src/robospierre/top.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'digital/io-hub/src/robospierre/top.c') diff --git a/digital/io-hub/src/robospierre/top.c b/digital/io-hub/src/robospierre/top.c index 7732fb50..3d39f60a 100644 --- a/digital/io-hub/src/robospierre/top.c +++ b/digital/io-hub/src/robospierre/top.c @@ -434,6 +434,7 @@ FSM_TRANS (TOP_DROP_CLEARING, robot_move_success, element, TOP_GOING_TO_ELEMENT) { clamp_drop_clear (); + pawn_sensor_bumper_wait (3 * 250); switch (top_decision ()) { default: return FSM_NEXT (TOP_DROP_CLEARING, robot_move_success, drop); @@ -446,6 +447,7 @@ FSM_TRANS (TOP_DROP_CLEARING, robot_move_failure, element, TOP_GOING_TO_ELEMENT) { clamp_drop_clear (); + pawn_sensor_bumper_wait (3 * 250); switch (top_decision ()) { default: return FSM_NEXT (TOP_DROP_CLEARING, robot_move_failure, drop); -- cgit v1.2.3