From f062bfb8e88c0e62edd830bfbcaee14f1688c510 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 8 Jun 2022 15:46:20 +0200 Subject: preset orders --- robot/mode_grid.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'robot/mode_grid.c') diff --git a/robot/mode_grid.c b/robot/mode_grid.c index 235ac66..48a7269 100644 --- a/robot/mode_grid.c +++ b/robot/mode_grid.c @@ -7,8 +7,13 @@ int g_w2_order_number; int g_w2_maze_status = 0; -w2_s_grid_coordinate g_w2_order[16]; -unsigned int g_w2_order_index = 0; +w2_s_grid_coordinate g_w2_order[16] = { + {0, 0}, + {3, 4}, + {2, 1}, + {4, 2}, +}; +unsigned int g_w2_order_index = 4; w2_s_grid_coordinate g_w2_location; w2_s_grid_coordinate g_w2_destination; w2_e_orientation g_w2_direction; -- cgit v1.2.3