summaryrefslogtreecommitdiff
path: root/robot/mode_grid.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-08 14:51:01 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-08 14:51:01 +0200
commit92a43e07b10903d5f1a572ebdf9a40571b75e73d (patch)
treebb9eef91803f4489bab56975981fee3422b0446b /robot/mode_grid.c
parent1becbf9f7292309b123d9f5839e89bd22fd84e81 (diff)
worky
Diffstat (limited to 'robot/mode_grid.c')
-rw-r--r--robot/mode_grid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/mode_grid.c b/robot/mode_grid.c
index c6ebef3..e864db7 100644
--- a/robot/mode_grid.c
+++ b/robot/mode_grid.c
@@ -35,7 +35,7 @@ void w2_crosswalk_stroll() {
while (g_w2_sensors[0] < 100 && g_w2_sensors[1] < 100 && g_w2_sensors[2] < 100 && g_w2_sensors[3] < 100 &&
g_w2_sensors[4] < 100) {
set_motors(15, 15);
- delay(300);
+ delay(290);
g_w2_position = read_line(g_w2_sensors, IR_EMITTERS_ON);
if (g_w2_sensors[2] > 100 || g_w2_sensors[3] > 100 || g_w2_sensors[1] > 100) {
set_motors(0, 0);