aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-08 15:46:20 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-08 15:46:20 +0200
commitf062bfb8e88c0e62edd830bfbcaee14f1688c510 (patch)
treeb1dd1453f22dd990f7b5b19b3fa4ad9b008ff060
parente25bf2921965ce642877c760310fced1a7ca7355 (diff)
preset orders
-rw-r--r--robot/mode_grid.c9
1 files changed, 7 insertions, 2 deletions
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;