summaryrefslogtreecommitdiff
path: root/robot/mode_grid.h
blob: c8e649fe1d23d37c6ae21e0bb5f1c1d9e8ff6c77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once

/** @file mode_grid.h */

/**
 * warehouse mode
 *
 * processes orders from the order buffer
 */
void w2_mode_grid();

void w2_crosswalk_detection();

typedef enum {
	W2_ORT_NORTH,
	W2_ORT_EAST,
	W2_ORT_SOUTH,
	W2_ORT_WEST
} w2_e_orientation;

// enum w2_e_section { mazeMode, gridMode, chargeMode } g_w2_parcour_mode;

typedef struct {
	int x;
	int y;
} w2_s_grid_coordinate;

extern w2_s_grid_coordinate g_w2_order[4];