summaryrefslogtreecommitdiff
path: root/robot/mode_maze.h
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-05 16:36:42 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-05 16:36:42 +0200
commit028bbb5d8ad414e9244c21467602648fba463b97 (patch)
tree5f8ae0142c5062eb860580d6a5a53fb921568d13 /robot/mode_maze.h
parentfa6af27248ec1fcbfdec433ea16154b7bdae045f (diff)
parentbc283424c699effcfa84816c609ca7f00ed5259a (diff)
Merge branch 'master' of https://github.com/HoodieJeansJordans/wall-e2
Diffstat (limited to 'robot/mode_maze.h')
-rw-r--r--robot/mode_maze.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/robot/mode_maze.h b/robot/mode_maze.h
index e7490b9..6d481c1 100644
--- a/robot/mode_maze.h
+++ b/robot/mode_maze.h
@@ -7,4 +7,8 @@
*
* 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();