diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-06-08 15:46:20 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-06-08 15:46:20 +0200 |
commit | f062bfb8e88c0e62edd830bfbcaee14f1688c510 (patch) | |
tree | b1dd1453f22dd990f7b5b19b3fa4ad9b008ff060 /robot/mode_grid.c | |
parent | e25bf2921965ce642877c760310fced1a7ca7355 (diff) |
preset orders
Diffstat (limited to 'robot/mode_grid.c')
-rw-r--r-- | robot/mode_grid.c | 9 |
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; |