summaryrefslogtreecommitdiff
path: root/robot/mode_maze.h
blob: b97ad5c8c4ff60851c7cb1926a46c81b7a0f29ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once

/**
 * maze mode
 *
 * finds route out of maze
 */
unsigned int sensors[5]; // an array to hold sensor values
unsigned int position;
unsigned int last_proportional=0;
long integral=0;
void w2_mode_maze();